<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Qwt User&#39;s Guide: qwt_plot_curve.cpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Qwt User&#39;s Guide
   &#160;<span id="projectnumber">6.2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('qwt__plot__curve_8cpp_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">qwt_plot_curve.cpp</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/******************************************************************************</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Qwt Widget Library</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * Copyright (C) 1997   Josef Wilgen</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * Copyright (C) 2002   Uwe Rathmann</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * This library is free software; you can redistribute it and/or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * modify it under the terms of the Qwt License, Version 1.0</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *****************************************************************************/</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160; </div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &quot;qwt_plot_curve.h&quot;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &quot;qwt_point_data.h&quot;</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &quot;qwt_math.h&quot;</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &quot;qwt_clipper.h&quot;</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &quot;qwt_painter.h&quot;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &quot;qwt_scale_map.h&quot;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &quot;qwt_plot.h&quot;</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#include &quot;qwt_spline_curve_fitter.h&quot;</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#include &quot;qwt_symbol.h&quot;</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#include &quot;qwt_point_mapper.h&quot;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#include &quot;qwt_text.h&quot;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &quot;qwt_graphic.h&quot;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160; </div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &lt;qpainter.h&gt;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#include &lt;qpainterpath.h&gt;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160; </div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> QRectF qwtIntersectedClipRect( <span class="keyword">const</span> QRectF&amp; rect, QPainter* painter )</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;{</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    QRectF clipRect = rect;</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;    <span class="keywordflow">if</span> ( painter-&gt;hasClipping() )</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;        clipRect &amp;= painter-&gt;clipBoundingRect();</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    <span class="keywordflow">return</span> clipRect;</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;}</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160; </div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="keyword">static</span> <span class="keywordtype">void</span> qwtUpdateLegendIconSize( <a class="code" href="class_qwt_plot_curve.html">QwtPlotCurve</a>* curve )</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;{</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    <span class="keywordflow">if</span> ( curve-&gt;<a class="code" href="class_qwt_plot_curve.html#add9a08ca3decc6a97c0a5179a23eb073">symbol</a>() &amp;&amp;</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;        curve-&gt;<a class="code" href="class_qwt_plot_curve.html#a683e618515353c512e69f64ade513e06">testLegendAttribute</a>( <a class="code" href="class_qwt_plot_curve.html#a6c1ac1ca99c06598c4044dd2ceeb9fd7a5902a8ff0c4c7f1080dd4e2bd5eb29be">QwtPlotCurve::LegendShowSymbol</a> ) )</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;    {</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;        QSize sz = curve-&gt;<a class="code" href="class_qwt_plot_curve.html#add9a08ca3decc6a97c0a5179a23eb073">symbol</a>()-&gt;<a class="code" href="class_qwt_symbol.html#a5a6f161bb68df7237224519e5877203b">boundingRect</a>().size();</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;        sz += QSize( 2, 2 ); <span class="comment">// margin</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160; </div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;        <span class="keywordflow">if</span> ( curve-&gt;<a class="code" href="class_qwt_plot_curve.html#a683e618515353c512e69f64ade513e06">testLegendAttribute</a>( <a class="code" href="class_qwt_plot_curve.html#a6c1ac1ca99c06598c4044dd2ceeb9fd7a7eb8387acab6a10a95219634c97c266f">QwtPlotCurve::LegendShowLine</a> ) )</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;        {</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;            <span class="comment">// Avoid, that the line is completely covered by the symbol</span></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160; </div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;            <span class="keywordtype">int</span> w = qwtCeil( 1.5 * sz.width() );</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;            <span class="keywordflow">if</span> ( w % 2 )</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;                w++;</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160; </div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;            sz.setWidth( qMax( 8, w ) );</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;        }</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160; </div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;        curve-&gt;<a class="code" href="class_qwt_plot_item.html#a0827dd69bf19ec0145b6cc6efad2c11b">setLegendIconSize</a>( sz );</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    }</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;}</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160; </div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="keyword">static</span> <span class="keywordtype">int</span> qwtVerifyRange( <span class="keywordtype">int</span> size, <span class="keywordtype">int</span>&amp; i1, <span class="keywordtype">int</span>&amp; i2 )</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;{</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    <span class="keywordflow">if</span> ( size &lt; 1 )</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160; </div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    i1 = qBound( 0, i1, size - 1 );</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    i2 = qBound( 0, i2, size - 1 );</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160; </div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    <span class="keywordflow">if</span> ( i1 &gt; i2 )</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;        qSwap( i1, i2 );</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160; </div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <span class="keywordflow">return</span> ( i2 - i1 + 1 );</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;}</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160; </div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="keyword">class </span>QwtPlotCurve::PrivateData</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;{</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    PrivateData()</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;        : <a class="code" href="class_qwt_plot_curve.html#a3a40b9e7054d35e65ecdd6956d138bc7">style</a>( <a class="code" href="class_qwt_plot_curve.html">QwtPlotCurve</a>::<a class="code" href="class_qwt_plot_curve.html#a15998aa80a11ba6ba80eebabaf773f70a8914d88bcd5f680e7091469fed67c9ba">Lines</a> )</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;        , <a class="code" href="class_qwt_plot_curve.html#af1b8d1a415addf18ee17bfeea7ffdc79">baseline</a>( 0.0 )</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;        , <a class="code" href="class_qwt_plot_curve.html#add9a08ca3decc6a97c0a5179a23eb073">symbol</a>( NULL )</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;        , <a class="code" href="class_qwt_plot_curve.html#ab7506e322a6f0ce39d5d94b2b92b2155">pen</a>( Qt::black )</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;        , paintAttributes( <a class="code" href="class_qwt_plot_curve.html">QwtPlotCurve</a>::<a class="code" href="class_qwt_plot_curve.html#a96db1b854c63bfbc452c943251a11b66a26f9aa8ae434aa94b4049b9908995abf">ClipPolygons</a> | <a class="code" href="class_qwt_plot_curve.html">QwtPlotCurve</a>::<a class="code" href="class_qwt_plot_curve.html#a96db1b854c63bfbc452c943251a11b66af09c1c6ec8c8198124f0e41c391f8391">FilterPoints</a> )</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    {</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;        <a class="code" href="class_qwt_plot_curve.html#ae988a31fedc9f30c0baf34dde80c125a">curveFitter</a> = <span class="keyword">new</span> <a class="code" href="class_qwt_spline_curve_fitter.html">QwtSplineCurveFitter</a>;</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    }</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160; </div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    ~PrivateData()</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    {</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;        <span class="keyword">delete</span> <a class="code" href="class_qwt_plot_curve.html#add9a08ca3decc6a97c0a5179a23eb073">symbol</a>;</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;        <span class="keyword">delete</span> <a class="code" href="class_qwt_plot_curve.html#ae988a31fedc9f30c0baf34dde80c125a">curveFitter</a>;</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    }</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160; </div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    <a class="code" href="class_qwt_plot_curve.html#a15998aa80a11ba6ba80eebabaf773f70">QwtPlotCurve::CurveStyle</a> <a class="code" href="class_qwt_plot_curve.html#a3a40b9e7054d35e65ecdd6956d138bc7">style</a>;</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_qwt_plot_curve.html#af1b8d1a415addf18ee17bfeea7ffdc79">baseline</a>;</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160; </div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_symbol.html">QwtSymbol</a>* <a class="code" href="class_qwt_plot_curve.html#add9a08ca3decc6a97c0a5179a23eb073">symbol</a>;</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    <a class="code" href="class_qwt_curve_fitter.html">QwtCurveFitter</a>* <a class="code" href="class_qwt_plot_curve.html#ae988a31fedc9f30c0baf34dde80c125a">curveFitter</a>;</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160; </div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    QPen <a class="code" href="class_qwt_plot_curve.html#ab7506e322a6f0ce39d5d94b2b92b2155">pen</a>;</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    QBrush <a class="code" href="class_qwt_plot_curve.html#ad2481212584bb3c4023184c6acedfba1">brush</a>;</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160; </div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    <a class="code" href="class_qwt_plot_curve.html#aef239b0fd2872333b5d8947434add425">QwtPlotCurve::CurveAttributes</a> attributes;</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    <a class="code" href="class_qwt_plot_curve.html#adff5a47fcd28ea934cbdc568fe8bb85a">QwtPlotCurve::PaintAttributes</a> paintAttributes;</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160; </div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    <a class="code" href="class_qwt_plot_curve.html#a27ba776f9d76b60aaee7e3d30aa78c2c">QwtPlotCurve::LegendAttributes</a> <a class="code" href="class_qwt_plot_curve.html#a1d2d1c90dd5db249640ca77b83e1c294">legendAttributes</a>;</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;};</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160; </div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#a3bcaa88363509f4bc1ad92bee498f203">  110</a></span>&#160;<a class="code" href="class_qwt_plot_curve.html#a57996621d9dcc44ceb942e38219bf8ff">QwtPlotCurve::QwtPlotCurve</a>( <span class="keyword">const</span> <a class="code" href="class_qwt_text.html">QwtText</a>&amp; title )</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    : <a class="code" href="class_qwt_plot_series_item.html">QwtPlotSeriesItem</a>( title )</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;{</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    <a class="code" href="class_qwt_plot_curve.html#a7afecd61327d56ddc76687d119e92b5d">init</a>();</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;}</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160; </div>
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#a57996621d9dcc44ceb942e38219bf8ff">  120</a></span>&#160;<a class="code" href="class_qwt_plot_curve.html#a57996621d9dcc44ceb942e38219bf8ff">QwtPlotCurve::QwtPlotCurve</a>( <span class="keyword">const</span> QString&amp; title )</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;    : <a class="code" href="class_qwt_plot_series_item.html">QwtPlotSeriesItem</a>( <a class="code" href="class_qwt_text.html">QwtText</a>( title ) )</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;{</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;    <a class="code" href="class_qwt_plot_curve.html#a7afecd61327d56ddc76687d119e92b5d">init</a>();</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;}</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160; </div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#aa05ec6d3883821a8e62330fbeeb85dbd">  127</a></span>&#160;<a class="code" href="class_qwt_plot_curve.html#aa05ec6d3883821a8e62330fbeeb85dbd">QwtPlotCurve::~QwtPlotCurve</a>()</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;{</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;    <span class="keyword">delete</span> m_data;</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;}</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160; </div>
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#a7afecd61327d56ddc76687d119e92b5d">  133</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_curve.html#a7afecd61327d56ddc76687d119e92b5d">QwtPlotCurve::init</a>()</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;{</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;    <a class="code" href="class_qwt_plot_item.html#a5a335be8ff488809a2cf7f4b734ad1b6">setItemAttribute</a>( <a class="code" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062a4e377b54bd879c60a95162b6a9e9e176">QwtPlotItem::Legend</a> );</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;    <a class="code" href="class_qwt_plot_item.html#a5a335be8ff488809a2cf7f4b734ad1b6">setItemAttribute</a>( <a class="code" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062a9de83e2ad8a88796a36a11ef8b033a48">QwtPlotItem::AutoScale</a> );</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160; </div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;    m_data = <span class="keyword">new</span> PrivateData;</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;    <a class="code" href="class_qwt_series_store.html#add3ce83fe90e976b75a0ebaa79caee4c">setData</a>( <span class="keyword">new</span> <a class="code" href="class_qwt_point_series_data.html">QwtPointSeriesData</a>() );</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160; </div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;    <a class="code" href="class_qwt_plot_item.html#a57d90e4146133b59d589c71b3a643e82">setZ</a>( 20.0 );</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;}</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160; </div>
<div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#afaa5b4cfa0265b6cabaa77a18bd24fdd">  145</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="class_qwt_plot_curve.html#afaa5b4cfa0265b6cabaa77a18bd24fdd">QwtPlotCurve::rtti</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3af51a35012ed097a762b8918cf20caa69">QwtPlotItem::Rtti_PlotCurve</a>;</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;}</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160; </div>
<div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#a7f9c70366415b5cb068af80be5bf3748">  157</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_curve.html#a7f9c70366415b5cb068af80be5bf3748">QwtPlotCurve::setPaintAttribute</a>( <a class="code" href="class_qwt_plot_curve.html#a96db1b854c63bfbc452c943251a11b66">PaintAttribute</a> attribute, <span class="keywordtype">bool</span> on )</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;{</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;    <span class="keywordflow">if</span> ( on )</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;        m_data-&gt;paintAttributes |= attribute;</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;        m_data-&gt;paintAttributes &amp;= ~attribute;</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;}</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160; </div>
<div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#a97c5d16689ddc8b76317522f8a3eb7e4">  169</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_qwt_plot_curve.html#a97c5d16689ddc8b76317522f8a3eb7e4">QwtPlotCurve::testPaintAttribute</a>( <a class="code" href="class_qwt_plot_curve.html#a96db1b854c63bfbc452c943251a11b66">PaintAttribute</a> attribute )<span class="keyword"> const</span></div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;    <span class="keywordflow">return</span> ( m_data-&gt;paintAttributes &amp; attribute );</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;}</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160; </div>
<div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#a0b1b7816e822607eb16e6eb2fd7bfa5c">  181</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_curve.html#a0b1b7816e822607eb16e6eb2fd7bfa5c">QwtPlotCurve::setLegendAttribute</a>( <a class="code" href="class_qwt_plot_curve.html#a6c1ac1ca99c06598c4044dd2ceeb9fd7">LegendAttribute</a> attribute, <span class="keywordtype">bool</span> on )</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;{</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;    <span class="keywordflow">if</span> ( on != <a class="code" href="class_qwt_plot_curve.html#a683e618515353c512e69f64ade513e06">testLegendAttribute</a>( attribute ) )</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;    {</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;        <span class="keywordflow">if</span> ( on )</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;            m_data-&gt;legendAttributes |= attribute;</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;        <span class="keywordflow">else</span></div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;            m_data-&gt;legendAttributes &amp;= ~attribute;</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160; </div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;        qwtUpdateLegendIconSize( <span class="keyword">this</span> );</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;        <a class="code" href="class_qwt_plot_item.html#a3967414c7542e267d0c2793f02be7241">legendChanged</a>();</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;    }</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;}</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160; </div>
<div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#a683e618515353c512e69f64ade513e06">  199</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_qwt_plot_curve.html#a683e618515353c512e69f64ade513e06">QwtPlotCurve::testLegendAttribute</a>( <a class="code" href="class_qwt_plot_curve.html#a6c1ac1ca99c06598c4044dd2ceeb9fd7">LegendAttribute</a> attribute )<span class="keyword"> const</span></div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;    <span class="keywordflow">return</span> ( m_data-&gt;legendAttributes &amp; attribute );</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;}</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160; </div>
<div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#a0d21c4aa8093baf66666d34cb1c05a58">  210</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_curve.html#a0d21c4aa8093baf66666d34cb1c05a58">QwtPlotCurve::setLegendAttributes</a>( <a class="code" href="class_qwt_plot_curve.html#a27ba776f9d76b60aaee7e3d30aa78c2c">LegendAttributes</a> attributes )</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;{</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;    <span class="keywordflow">if</span> ( attributes != m_data-&gt;legendAttributes )</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;    {</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;        m_data-&gt;legendAttributes = attributes;</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160; </div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;        qwtUpdateLegendIconSize( <span class="keyword">this</span> );</div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;        <a class="code" href="class_qwt_plot_item.html#a3967414c7542e267d0c2793f02be7241">legendChanged</a>();</div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;    }</div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;}</div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160; </div>
<div class="line"><a name="l00225"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#a1d2d1c90dd5db249640ca77b83e1c294">  225</a></span>&#160;<a class="code" href="class_qwt_plot_curve.html#a27ba776f9d76b60aaee7e3d30aa78c2c">QwtPlotCurve::LegendAttributes</a> <a class="code" href="class_qwt_plot_curve.html#a1d2d1c90dd5db249640ca77b83e1c294">QwtPlotCurve::legendAttributes</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;legendAttributes;</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;}</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160; </div>
<div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#a2de41014c2b87fd459d0c438a15dd33e">  236</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_curve.html#a2de41014c2b87fd459d0c438a15dd33e">QwtPlotCurve::setStyle</a>( <a class="code" href="class_qwt_plot_curve.html#a15998aa80a11ba6ba80eebabaf773f70">CurveStyle</a> style )</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;{</div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;    <span class="keywordflow">if</span> ( <a class="code" href="class_qwt_plot_curve.html#a3a40b9e7054d35e65ecdd6956d138bc7">style</a> != m_data-&gt;style )</div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;    {</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;        m_data-&gt;style = <a class="code" href="class_qwt_plot_curve.html#a3a40b9e7054d35e65ecdd6956d138bc7">style</a>;</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160; </div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;        <a class="code" href="class_qwt_plot_item.html#a3967414c7542e267d0c2793f02be7241">legendChanged</a>();</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;        <a class="code" href="class_qwt_plot_item.html#ad956fdbce5b0721abccce6d09fe4d5ce">itemChanged</a>();</div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;    }</div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;}</div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160; </div>
<div class="line"><a name="l00251"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#a3a40b9e7054d35e65ecdd6956d138bc7">  251</a></span>&#160;<a class="code" href="class_qwt_plot_curve.html#a15998aa80a11ba6ba80eebabaf773f70">QwtPlotCurve::CurveStyle</a> <a class="code" href="class_qwt_plot_curve.html#a3a40b9e7054d35e65ecdd6956d138bc7">QwtPlotCurve::style</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;style;</div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;}</div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160; </div>
<div class="line"><a name="l00266"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#a413b1a18de12ece4dec5ae0738ecd03f">  266</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_curve.html#a413b1a18de12ece4dec5ae0738ecd03f">QwtPlotCurve::setSymbol</a>( <a class="code" href="class_qwt_symbol.html">QwtSymbol</a>* symbol )</div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;{</div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;    <span class="keywordflow">if</span> ( <a class="code" href="class_qwt_plot_curve.html#add9a08ca3decc6a97c0a5179a23eb073">symbol</a> != m_data-&gt;symbol )</div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;    {</div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;        <span class="keyword">delete</span> m_data-&gt;symbol;</div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;        m_data-&gt;symbol = <a class="code" href="class_qwt_plot_curve.html#add9a08ca3decc6a97c0a5179a23eb073">symbol</a>;</div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160; </div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;        qwtUpdateLegendIconSize( <span class="keyword">this</span> );</div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160; </div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;        <a class="code" href="class_qwt_plot_item.html#a3967414c7542e267d0c2793f02be7241">legendChanged</a>();</div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;        <a class="code" href="class_qwt_plot_item.html#ad956fdbce5b0721abccce6d09fe4d5ce">itemChanged</a>();</div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;    }</div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;}</div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160; </div>
<div class="line"><a name="l00284"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#add9a08ca3decc6a97c0a5179a23eb073">  284</a></span>&#160;<span class="keyword">const</span> <a class="code" href="class_qwt_symbol.html">QwtSymbol</a>* <a class="code" href="class_qwt_plot_curve.html#add9a08ca3decc6a97c0a5179a23eb073">QwtPlotCurve::symbol</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;symbol;</div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;}</div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160; </div>
<div class="line"><a name="l00302"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#ae00bd073a2bcf7c3c810d70af1f86750">  302</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_curve.html#ae00bd073a2bcf7c3c810d70af1f86750">QwtPlotCurve::setPen</a>( <span class="keyword">const</span> QColor&amp; color, qreal width, Qt::PenStyle style )</div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;{</div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;    <a class="code" href="class_qwt_plot_curve.html#ae00bd073a2bcf7c3c810d70af1f86750">setPen</a>( QPen( color, width, <a class="code" href="class_qwt_plot_curve.html#a3a40b9e7054d35e65ecdd6956d138bc7">style</a> ) );</div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;}</div>
<div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160; </div>
<div class="line"><a name="l00313"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#a08328abaf2c3b67e479d1e485d2d0c4d">  313</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_curve.html#ae00bd073a2bcf7c3c810d70af1f86750">QwtPlotCurve::setPen</a>( <span class="keyword">const</span> QPen&amp; pen )</div>
<div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;{</div>
<div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;    <span class="keywordflow">if</span> ( <a class="code" href="class_qwt_plot_curve.html#ab7506e322a6f0ce39d5d94b2b92b2155">pen</a> != m_data-&gt;pen )</div>
<div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;    {</div>
<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;        m_data-&gt;pen = <a class="code" href="class_qwt_plot_curve.html#ab7506e322a6f0ce39d5d94b2b92b2155">pen</a>;</div>
<div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160; </div>
<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;        <a class="code" href="class_qwt_plot_item.html#a3967414c7542e267d0c2793f02be7241">legendChanged</a>();</div>
<div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;        <a class="code" href="class_qwt_plot_item.html#ad956fdbce5b0721abccce6d09fe4d5ce">itemChanged</a>();</div>
<div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;    }</div>
<div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;}</div>
<div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160; </div>
<div class="line"><a name="l00328"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#ab7506e322a6f0ce39d5d94b2b92b2155">  328</a></span>&#160;<span class="keyword">const</span> QPen&amp; <a class="code" href="class_qwt_plot_curve.html#ab7506e322a6f0ce39d5d94b2b92b2155">QwtPlotCurve::pen</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;pen;</div>
<div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;}</div>
<div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160; </div>
<div class="line"><a name="l00348"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#adc52ea882ec1f994e2d2e23c7465b0c2">  348</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_curve.html#adc52ea882ec1f994e2d2e23c7465b0c2">QwtPlotCurve::setBrush</a>( <span class="keyword">const</span> QBrush&amp; brush )</div>
<div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;{</div>
<div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;    <span class="keywordflow">if</span> ( <a class="code" href="class_qwt_plot_curve.html#ad2481212584bb3c4023184c6acedfba1">brush</a> != m_data-&gt;brush )</div>
<div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;    {</div>
<div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;        m_data-&gt;brush = <a class="code" href="class_qwt_plot_curve.html#ad2481212584bb3c4023184c6acedfba1">brush</a>;</div>
<div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160; </div>
<div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;        <a class="code" href="class_qwt_plot_item.html#a3967414c7542e267d0c2793f02be7241">legendChanged</a>();</div>
<div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;        <a class="code" href="class_qwt_plot_item.html#ad956fdbce5b0721abccce6d09fe4d5ce">itemChanged</a>();</div>
<div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;    }</div>
<div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;}</div>
<div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160; </div>
<div class="line"><a name="l00363"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#ad2481212584bb3c4023184c6acedfba1">  363</a></span>&#160;<span class="keyword">const</span> QBrush&amp; <a class="code" href="class_qwt_plot_curve.html#ad2481212584bb3c4023184c6acedfba1">QwtPlotCurve::brush</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;brush;</div>
<div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;}</div>
<div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160; </div>
<div class="line"><a name="l00381"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#a0c78af2f375172ce23ed40b3d79fcef2">  381</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_curve.html#a0c78af2f375172ce23ed40b3d79fcef2">QwtPlotCurve::drawSeries</a>( QPainter* painter,</div>
<div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; xMap, <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; yMap,</div>
<div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;    <span class="keyword">const</span> QRectF&amp; canvasRect, <span class="keywordtype">int</span> from, <span class="keywordtype">int</span> to )<span class="keyword"> const</span></div>
<div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">size_t</span> numSamples = <a class="code" href="class_qwt_series_store.html#a6391ad8acc1b3946006451f54a6558de">dataSize</a>();</div>
<div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160; </div>
<div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;    <span class="keywordflow">if</span> ( !painter || numSamples &lt;= 0 )</div>
<div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160; </div>
<div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;    <span class="keywordflow">if</span> ( to &lt; 0 )</div>
<div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;        to = numSamples - 1;</div>
<div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160; </div>
<div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;    <span class="keywordflow">if</span> ( qwtVerifyRange( numSamples, from, to ) &gt; 0 )</div>
<div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;    {</div>
<div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;        painter-&gt;save();</div>
<div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;        painter-&gt;setPen( m_data-&gt;pen );</div>
<div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160; </div>
<div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;<span class="comment">           Qt 4.0.0 is slow when drawing lines, but it&#39;s even</span></div>
<div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;<span class="comment">           slower when the painter has a brush. So we don&#39;t</span></div>
<div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;<span class="comment">           set the brush before we really need it.</span></div>
<div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160; </div>
<div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;        <a class="code" href="class_qwt_plot_curve.html#a2307196a17121dc72c2c88a0c5a46dc7">drawCurve</a>( painter, m_data-&gt;style, xMap, yMap, canvasRect, from, to );</div>
<div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;        painter-&gt;restore();</div>
<div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160; </div>
<div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;        <span class="keywordflow">if</span> ( m_data-&gt;symbol &amp;&amp;</div>
<div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;            ( m_data-&gt;symbol-&gt;style() != <a class="code" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fac3089b3993834683204a7bda52e763d3">QwtSymbol::NoSymbol</a> ) )</div>
<div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;        {</div>
<div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;            painter-&gt;save();</div>
<div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;            <a class="code" href="class_qwt_plot_curve.html#a5e0a456fafffac2dfda524b44759dd9a">drawSymbols</a>( painter, *m_data-&gt;symbol,</div>
<div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;                xMap, yMap, canvasRect, from, to );</div>
<div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;            painter-&gt;restore();</div>
<div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;        }</div>
<div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;    }</div>
<div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;}</div>
<div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160; </div>
<div class="line"><a name="l00429"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#a2307196a17121dc72c2c88a0c5a46dc7">  429</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_curve.html#a2307196a17121dc72c2c88a0c5a46dc7">QwtPlotCurve::drawCurve</a>( QPainter* painter, <span class="keywordtype">int</span> style,</div>
<div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; xMap, <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; yMap,</div>
<div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;    <span class="keyword">const</span> QRectF&amp; canvasRect, <span class="keywordtype">int</span> from, <span class="keywordtype">int</span> to )<span class="keyword"> const</span></div>
<div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;    <span class="keywordflow">switch</span> ( <a class="code" href="class_qwt_plot_curve.html#a3a40b9e7054d35e65ecdd6956d138bc7">style</a> )</div>
<div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;    {</div>
<div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="class_qwt_plot_curve.html#a15998aa80a11ba6ba80eebabaf773f70a8914d88bcd5f680e7091469fed67c9ba">Lines</a>:</div>
<div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;            <span class="keywordflow">if</span> ( <a class="code" href="class_qwt_plot_curve.html#a6854cb99986d47d6e146e53c1cd164b1">testCurveAttribute</a>( <a class="code" href="class_qwt_plot_curve.html#a38064f7de6f026a49db782c365f872c3a583f7bc6ca4d5245fa82757f4bddea1b">Fitted</a> ) )</div>
<div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160;            {</div>
<div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160;                <span class="comment">// we always need the complete</span></div>
<div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;                <span class="comment">// curve for fitting</span></div>
<div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160;                from = 0;</div>
<div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;                to = <a class="code" href="class_qwt_series_store.html#a6391ad8acc1b3946006451f54a6558de">dataSize</a>() - 1;</div>
<div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160;            }</div>
<div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;            <a class="code" href="class_qwt_plot_curve.html#a9c1ee98502ca107c9fa0edfdd0205e58">drawLines</a>( painter, xMap, yMap, canvasRect, from, to );</div>
<div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="class_qwt_plot_curve.html#a15998aa80a11ba6ba80eebabaf773f70a770b0908599507e5677b6e9ff9913f38">Sticks</a>:</div>
<div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;            <a class="code" href="class_qwt_plot_curve.html#a5894e31d4fb8304021e3419ab8c1c999">drawSticks</a>( painter, xMap, yMap, canvasRect, from, to );</div>
<div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="class_qwt_plot_curve.html#a15998aa80a11ba6ba80eebabaf773f70a18071408a0b9bfe58378c6d81e207b2c">Steps</a>:</div>
<div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;            <a class="code" href="class_qwt_plot_curve.html#af830c84cdcfa96f33432317e79dece3e">drawSteps</a>( painter, xMap, yMap, canvasRect, from, to );</div>
<div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="class_qwt_plot_curve.html#a15998aa80a11ba6ba80eebabaf773f70ac30a3c76d19bc69fc69bed68fc154838">Dots</a>:</div>
<div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;            <a class="code" href="class_qwt_plot_curve.html#a48871008ee333f0887ff0d225645b332">drawDots</a>( painter, xMap, yMap, canvasRect, from, to );</div>
<div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="class_qwt_plot_curve.html#a15998aa80a11ba6ba80eebabaf773f70a0b6dcf16619a08af39437d6b6a234c9c">NoCurve</a>:</div>
<div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160;        <span class="keywordflow">default</span>:</div>
<div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00457"></a><span class="lineno">  457</span>&#160;    }</div>
<div class="line"><a name="l00458"></a><span class="lineno">  458</span>&#160;}</div>
<div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160; </div>
<div class="line"><a name="l00476"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#a9c1ee98502ca107c9fa0edfdd0205e58">  476</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_curve.html#a9c1ee98502ca107c9fa0edfdd0205e58">QwtPlotCurve::drawLines</a>( QPainter* painter,</div>
<div class="line"><a name="l00477"></a><span class="lineno">  477</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; xMap, <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; yMap,</div>
<div class="line"><a name="l00478"></a><span class="lineno">  478</span>&#160;    <span class="keyword">const</span> QRectF&amp; canvasRect, <span class="keywordtype">int</span> from, <span class="keywordtype">int</span> to )<span class="keyword"> const</span></div>
<div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160;    <span class="keywordflow">if</span> ( from &gt; to )</div>
<div class="line"><a name="l00481"></a><span class="lineno">  481</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00482"></a><span class="lineno">  482</span>&#160; </div>
<div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">bool</span> doFit = ( m_data-&gt;attributes &amp; <a class="code" href="class_qwt_plot_curve.html#a38064f7de6f026a49db782c365f872c3a583f7bc6ca4d5245fa82757f4bddea1b">Fitted</a> ) &amp;&amp; m_data-&gt;curveFitter;</div>
<div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">bool</span> doAlign = !doFit &amp;&amp; <a class="code" href="class_qwt_painter.html#ae9af230df7bb8d40b802d4f3205a8631">QwtPainter::roundingAlignment</a>( painter );</div>
<div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">bool</span> doFill = ( m_data-&gt;brush.style() != Qt::NoBrush )</div>
<div class="line"><a name="l00486"></a><span class="lineno">  486</span>&#160;        &amp;&amp; ( m_data-&gt;brush.color().alpha() &gt; 0 );</div>
<div class="line"><a name="l00487"></a><span class="lineno">  487</span>&#160; </div>
<div class="line"><a name="l00488"></a><span class="lineno">  488</span>&#160;    QRectF clipRect;</div>
<div class="line"><a name="l00489"></a><span class="lineno">  489</span>&#160;    <span class="keywordflow">if</span> ( m_data-&gt;paintAttributes &amp; <a class="code" href="class_qwt_plot_curve.html#a96db1b854c63bfbc452c943251a11b66a26f9aa8ae434aa94b4049b9908995abf">ClipPolygons</a> )</div>
<div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160;    {</div>
<div class="line"><a name="l00491"></a><span class="lineno">  491</span>&#160;        clipRect = qwtIntersectedClipRect( canvasRect, painter );</div>
<div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160; </div>
<div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160;        <span class="keyword">const</span> qreal pw = <a class="code" href="class_qwt_painter.html#a9861338f5900c731fa66423aa6f29b88">QwtPainter::effectivePenWidth</a>( painter-&gt;pen() );</div>
<div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160;        clipRect = clipRect.adjusted(-pw, -pw, pw, pw);</div>
<div class="line"><a name="l00495"></a><span class="lineno">  495</span>&#160;    }</div>
<div class="line"><a name="l00496"></a><span class="lineno">  496</span>&#160; </div>
<div class="line"><a name="l00497"></a><span class="lineno">  497</span>&#160;    <a class="code" href="class_qwt_point_mapper.html">QwtPointMapper</a> mapper;</div>
<div class="line"><a name="l00498"></a><span class="lineno">  498</span>&#160; </div>
<div class="line"><a name="l00499"></a><span class="lineno">  499</span>&#160;    <span class="keywordflow">if</span> ( doAlign )</div>
<div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160;    {</div>
<div class="line"><a name="l00501"></a><span class="lineno">  501</span>&#160;        mapper.<a class="code" href="class_qwt_point_mapper.html#a6e03e14718d3d66a0f6a02fec7fcaeed">setFlag</a>( <a class="code" href="class_qwt_point_mapper.html#aafc07ceadb3f311057037ca8680e1c23a0e367a1519b0005cad8bb324854cc8e3">QwtPointMapper::RoundPoints</a>, <span class="keyword">true</span> );</div>
<div class="line"><a name="l00502"></a><span class="lineno">  502</span>&#160;        mapper.<a class="code" href="class_qwt_point_mapper.html#a6e03e14718d3d66a0f6a02fec7fcaeed">setFlag</a>( <a class="code" href="class_qwt_point_mapper.html#aafc07ceadb3f311057037ca8680e1c23a7708d7fa581149d1a443f0eaf7066b06">QwtPointMapper::WeedOutIntermediatePoints</a>,</div>
<div class="line"><a name="l00503"></a><span class="lineno">  503</span>&#160;            <a class="code" href="class_qwt_plot_curve.html#a97c5d16689ddc8b76317522f8a3eb7e4">testPaintAttribute</a>( <a class="code" href="class_qwt_plot_curve.html#a96db1b854c63bfbc452c943251a11b66a4aed183ef24167cb6df280abf166cb7b">FilterPointsAggressive</a> ) );</div>
<div class="line"><a name="l00504"></a><span class="lineno">  504</span>&#160;    }</div>
<div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160; </div>
<div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;    mapper.<a class="code" href="class_qwt_point_mapper.html#a6e03e14718d3d66a0f6a02fec7fcaeed">setFlag</a>( <a class="code" href="class_qwt_point_mapper.html#aafc07ceadb3f311057037ca8680e1c23a288f41a8e4d53c895f7bffaaa9b5d9e4">QwtPointMapper::WeedOutPoints</a>,</div>
<div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;        <a class="code" href="class_qwt_plot_curve.html#a97c5d16689ddc8b76317522f8a3eb7e4">testPaintAttribute</a>( <a class="code" href="class_qwt_plot_curve.html#a96db1b854c63bfbc452c943251a11b66af09c1c6ec8c8198124f0e41c391f8391">FilterPoints</a> ) ||</div>
<div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;        <a class="code" href="class_qwt_plot_curve.html#a97c5d16689ddc8b76317522f8a3eb7e4">testPaintAttribute</a>( <a class="code" href="class_qwt_plot_curve.html#a96db1b854c63bfbc452c943251a11b66a4aed183ef24167cb6df280abf166cb7b">FilterPointsAggressive</a> ) );</div>
<div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160; </div>
<div class="line"><a name="l00510"></a><span class="lineno">  510</span>&#160;    mapper.<a class="code" href="class_qwt_point_mapper.html#a03910571df91575456e98134f6543650">setBoundingRect</a>( canvasRect );</div>
<div class="line"><a name="l00511"></a><span class="lineno">  511</span>&#160; </div>
<div class="line"><a name="l00512"></a><span class="lineno">  512</span>&#160;    QPolygonF polyline = mapper.<a class="code" href="class_qwt_point_mapper.html#a394341ccba09dd293dddc7bb4f599891">toPolygonF</a>( xMap, yMap, <a class="code" href="class_qwt_series_store.html#aae258d330c8d1bd2057b1f0bc13700f9">data</a>(), from, to );</div>
<div class="line"><a name="l00513"></a><span class="lineno">  513</span>&#160; </div>
<div class="line"><a name="l00514"></a><span class="lineno">  514</span>&#160;    <span class="keywordflow">if</span> ( doFill )</div>
<div class="line"><a name="l00515"></a><span class="lineno">  515</span>&#160;    {</div>
<div class="line"><a name="l00516"></a><span class="lineno">  516</span>&#160;        <span class="keywordflow">if</span> ( doFit )</div>
<div class="line"><a name="l00517"></a><span class="lineno">  517</span>&#160;        {</div>
<div class="line"><a name="l00518"></a><span class="lineno">  518</span>&#160;            <span class="comment">// it might be better to extend and draw the curvePath, but for</span></div>
<div class="line"><a name="l00519"></a><span class="lineno">  519</span>&#160;            <span class="comment">// the moment we keep an implementation, where we translate the</span></div>
<div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160;            <span class="comment">// path back to a polyline.</span></div>
<div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160; </div>
<div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160;            polyline = m_data-&gt;curveFitter-&gt;fitCurve( polyline );</div>
<div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160;        }</div>
<div class="line"><a name="l00524"></a><span class="lineno">  524</span>&#160; </div>
<div class="line"><a name="l00525"></a><span class="lineno">  525</span>&#160;        <span class="keywordflow">if</span> ( painter-&gt;pen().style() != Qt::NoPen )</div>
<div class="line"><a name="l00526"></a><span class="lineno">  526</span>&#160;        {</div>
<div class="line"><a name="l00527"></a><span class="lineno">  527</span>&#160;            <span class="comment">// here we are wasting memory for the filled copy,</span></div>
<div class="line"><a name="l00528"></a><span class="lineno">  528</span>&#160;            <span class="comment">// do polygon clipping twice etc .. TODO</span></div>
<div class="line"><a name="l00529"></a><span class="lineno">  529</span>&#160; </div>
<div class="line"><a name="l00530"></a><span class="lineno">  530</span>&#160;            QPolygonF filled = polyline;</div>
<div class="line"><a name="l00531"></a><span class="lineno">  531</span>&#160;            <a class="code" href="class_qwt_plot_curve.html#a2a600e735278d8547cd5e468c9fdf5cc">fillCurve</a>( painter, xMap, yMap, canvasRect, filled );</div>
<div class="line"><a name="l00532"></a><span class="lineno">  532</span>&#160;            filled.clear();</div>
<div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160; </div>
<div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160;            <span class="keywordflow">if</span> ( m_data-&gt;paintAttributes &amp; <a class="code" href="class_qwt_plot_curve.html#a96db1b854c63bfbc452c943251a11b66a26f9aa8ae434aa94b4049b9908995abf">ClipPolygons</a> )</div>
<div class="line"><a name="l00535"></a><span class="lineno">  535</span>&#160;                <a class="code" href="namespace_qwt_clipper.html#aa5305d415fd97b332825e68b6cb25715">QwtClipper::clipPolygonF</a>( clipRect, polyline, <span class="keyword">false</span> );</div>
<div class="line"><a name="l00536"></a><span class="lineno">  536</span>&#160; </div>
<div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160;            <a class="code" href="class_qwt_painter.html#a60ab9909e9eac196c022b1ec6200d198">QwtPainter::drawPolyline</a>( painter, polyline );</div>
<div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160;        }</div>
<div class="line"><a name="l00539"></a><span class="lineno">  539</span>&#160;        <span class="keywordflow">else</span></div>
<div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160;        {</div>
<div class="line"><a name="l00541"></a><span class="lineno">  541</span>&#160;            <a class="code" href="class_qwt_plot_curve.html#a2a600e735278d8547cd5e468c9fdf5cc">fillCurve</a>( painter, xMap, yMap, canvasRect, polyline );</div>
<div class="line"><a name="l00542"></a><span class="lineno">  542</span>&#160;        }</div>
<div class="line"><a name="l00543"></a><span class="lineno">  543</span>&#160;    }</div>
<div class="line"><a name="l00544"></a><span class="lineno">  544</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00545"></a><span class="lineno">  545</span>&#160;    {</div>
<div class="line"><a name="l00546"></a><span class="lineno">  546</span>&#160;        <span class="keywordflow">if</span> ( <a class="code" href="class_qwt_plot_curve.html#a97c5d16689ddc8b76317522f8a3eb7e4">testPaintAttribute</a>( <a class="code" href="class_qwt_plot_curve.html#a96db1b854c63bfbc452c943251a11b66a26f9aa8ae434aa94b4049b9908995abf">ClipPolygons</a> ) )</div>
<div class="line"><a name="l00547"></a><span class="lineno">  547</span>&#160;        {</div>
<div class="line"><a name="l00548"></a><span class="lineno">  548</span>&#160;            <a class="code" href="namespace_qwt_clipper.html#aa5305d415fd97b332825e68b6cb25715">QwtClipper::clipPolygonF</a>( clipRect, polyline, <span class="keyword">false</span> );</div>
<div class="line"><a name="l00549"></a><span class="lineno">  549</span>&#160;        }</div>
<div class="line"><a name="l00550"></a><span class="lineno">  550</span>&#160; </div>
<div class="line"><a name="l00551"></a><span class="lineno">  551</span>&#160;        <span class="keywordflow">if</span> ( doFit )</div>
<div class="line"><a name="l00552"></a><span class="lineno">  552</span>&#160;        {</div>
<div class="line"><a name="l00553"></a><span class="lineno">  553</span>&#160;            <span class="keywordflow">if</span> ( m_data-&gt;curveFitter-&gt;mode() == <a class="code" href="class_qwt_curve_fitter.html#a4a9b88b0ab2842395a7662735c833301a86090d569665ef9f1d47f61ada986996">QwtCurveFitter::Path</a> )</div>
<div class="line"><a name="l00554"></a><span class="lineno">  554</span>&#160;            {</div>
<div class="line"><a name="l00555"></a><span class="lineno">  555</span>&#160;                <span class="keyword">const</span> QPainterPath curvePath =</div>
<div class="line"><a name="l00556"></a><span class="lineno">  556</span>&#160;                    m_data-&gt;curveFitter-&gt;fitCurvePath( polyline );</div>
<div class="line"><a name="l00557"></a><span class="lineno">  557</span>&#160; </div>
<div class="line"><a name="l00558"></a><span class="lineno">  558</span>&#160;                painter-&gt;drawPath( curvePath );</div>
<div class="line"><a name="l00559"></a><span class="lineno">  559</span>&#160;            }</div>
<div class="line"><a name="l00560"></a><span class="lineno">  560</span>&#160;            <span class="keywordflow">else</span></div>
<div class="line"><a name="l00561"></a><span class="lineno">  561</span>&#160;            {</div>
<div class="line"><a name="l00562"></a><span class="lineno">  562</span>&#160;                polyline = m_data-&gt;curveFitter-&gt;fitCurve( polyline );</div>
<div class="line"><a name="l00563"></a><span class="lineno">  563</span>&#160;                <a class="code" href="class_qwt_painter.html#a60ab9909e9eac196c022b1ec6200d198">QwtPainter::drawPolyline</a>( painter, polyline );</div>
<div class="line"><a name="l00564"></a><span class="lineno">  564</span>&#160;            }</div>
<div class="line"><a name="l00565"></a><span class="lineno">  565</span>&#160;        }</div>
<div class="line"><a name="l00566"></a><span class="lineno">  566</span>&#160;        <span class="keywordflow">else</span></div>
<div class="line"><a name="l00567"></a><span class="lineno">  567</span>&#160;        {</div>
<div class="line"><a name="l00568"></a><span class="lineno">  568</span>&#160;            <a class="code" href="class_qwt_painter.html#a60ab9909e9eac196c022b1ec6200d198">QwtPainter::drawPolyline</a>( painter, polyline );</div>
<div class="line"><a name="l00569"></a><span class="lineno">  569</span>&#160;        }</div>
<div class="line"><a name="l00570"></a><span class="lineno">  570</span>&#160;    }</div>
<div class="line"><a name="l00571"></a><span class="lineno">  571</span>&#160;}</div>
<div class="line"><a name="l00572"></a><span class="lineno">  572</span>&#160; </div>
<div class="line"><a name="l00585"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#a5894e31d4fb8304021e3419ab8c1c999">  585</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_curve.html#a5894e31d4fb8304021e3419ab8c1c999">QwtPlotCurve::drawSticks</a>( QPainter* painter,</div>
<div class="line"><a name="l00586"></a><span class="lineno">  586</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; xMap, <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; yMap,</div>
<div class="line"><a name="l00587"></a><span class="lineno">  587</span>&#160;    <span class="keyword">const</span> QRectF&amp; canvasRect, <span class="keywordtype">int</span> from, <span class="keywordtype">int</span> to )<span class="keyword"> const</span></div>
<div class="line"><a name="l00588"></a><span class="lineno">  588</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00589"></a><span class="lineno">  589</span>&#160;    Q_UNUSED( canvasRect )</div>
<div class="line"><a name="l00590"></a><span class="lineno">  590</span>&#160; </div>
<div class="line"><a name="l00591"></a><span class="lineno">  591</span>&#160;    painter-&gt;save();</div>
<div class="line"><a name="l00592"></a><span class="lineno">  592</span>&#160;    painter-&gt;setRenderHint( QPainter::Antialiasing, <span class="keyword">false</span> );</div>
<div class="line"><a name="l00593"></a><span class="lineno">  593</span>&#160; </div>
<div class="line"><a name="l00594"></a><span class="lineno">  594</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">bool</span> doAlign = <a class="code" href="class_qwt_painter.html#ae9af230df7bb8d40b802d4f3205a8631">QwtPainter::roundingAlignment</a>( painter );</div>
<div class="line"><a name="l00595"></a><span class="lineno">  595</span>&#160; </div>
<div class="line"><a name="l00596"></a><span class="lineno">  596</span>&#160;    <span class="keywordtype">double</span> x0 = xMap.<a class="code" href="class_qwt_scale_map.html#a504f1627e0e02ddac03d2ce46507b865">transform</a>( m_data-&gt;baseline );</div>
<div class="line"><a name="l00597"></a><span class="lineno">  597</span>&#160;    <span class="keywordtype">double</span> y0 = yMap.<a class="code" href="class_qwt_scale_map.html#a504f1627e0e02ddac03d2ce46507b865">transform</a>( m_data-&gt;baseline );</div>
<div class="line"><a name="l00598"></a><span class="lineno">  598</span>&#160;    <span class="keywordflow">if</span> ( doAlign )</div>
<div class="line"><a name="l00599"></a><span class="lineno">  599</span>&#160;    {</div>
<div class="line"><a name="l00600"></a><span class="lineno">  600</span>&#160;        x0 = qRound( x0 );</div>
<div class="line"><a name="l00601"></a><span class="lineno">  601</span>&#160;        y0 = qRound( y0 );</div>
<div class="line"><a name="l00602"></a><span class="lineno">  602</span>&#160;    }</div>
<div class="line"><a name="l00603"></a><span class="lineno">  603</span>&#160; </div>
<div class="line"><a name="l00604"></a><span class="lineno">  604</span>&#160;    <span class="keyword">const</span> Qt::Orientation o = <a class="code" href="class_qwt_plot_series_item.html#a2717f491367632327a753eab8517506e">orientation</a>();</div>
<div class="line"><a name="l00605"></a><span class="lineno">  605</span>&#160; </div>
<div class="line"><a name="l00606"></a><span class="lineno">  606</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_series_data.html">QwtSeriesData&lt; QPointF &gt;</a>* series = <a class="code" href="class_qwt_series_store.html#aae258d330c8d1bd2057b1f0bc13700f9">data</a>();</div>
<div class="line"><a name="l00607"></a><span class="lineno">  607</span>&#160; </div>
<div class="line"><a name="l00608"></a><span class="lineno">  608</span>&#160;    <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = from; i &lt;= to; i++ )</div>
<div class="line"><a name="l00609"></a><span class="lineno">  609</span>&#160;    {</div>
<div class="line"><a name="l00610"></a><span class="lineno">  610</span>&#160;        <span class="keyword">const</span> QPointF <a class="code" href="class_qwt_series_store.html#a09f98212173ac6de604d8b63ebf6bb0a">sample</a> = series-&gt;<a class="code" href="class_qwt_series_data.html#ae8650d16c07c58f01897ab48658a3266">sample</a>( i );</div>
<div class="line"><a name="l00611"></a><span class="lineno">  611</span>&#160;        <span class="keywordtype">double</span> xi = xMap.<a class="code" href="class_qwt_scale_map.html#a504f1627e0e02ddac03d2ce46507b865">transform</a>( <a class="code" href="class_qwt_series_store.html#a09f98212173ac6de604d8b63ebf6bb0a">sample</a>.x() );</div>
<div class="line"><a name="l00612"></a><span class="lineno">  612</span>&#160;        <span class="keywordtype">double</span> yi = yMap.<a class="code" href="class_qwt_scale_map.html#a504f1627e0e02ddac03d2ce46507b865">transform</a>( <a class="code" href="class_qwt_series_store.html#a09f98212173ac6de604d8b63ebf6bb0a">sample</a>.y() );</div>
<div class="line"><a name="l00613"></a><span class="lineno">  613</span>&#160;        <span class="keywordflow">if</span> ( doAlign )</div>
<div class="line"><a name="l00614"></a><span class="lineno">  614</span>&#160;        {</div>
<div class="line"><a name="l00615"></a><span class="lineno">  615</span>&#160;            xi = qRound( xi );</div>
<div class="line"><a name="l00616"></a><span class="lineno">  616</span>&#160;            yi = qRound( yi );</div>
<div class="line"><a name="l00617"></a><span class="lineno">  617</span>&#160;        }</div>
<div class="line"><a name="l00618"></a><span class="lineno">  618</span>&#160; </div>
<div class="line"><a name="l00619"></a><span class="lineno">  619</span>&#160;        <span class="keywordflow">if</span> ( o == Qt::Horizontal )</div>
<div class="line"><a name="l00620"></a><span class="lineno">  620</span>&#160;            <a class="code" href="class_qwt_painter.html#af7da8f2bd3bda731e76b564ba44ea6e7">QwtPainter::drawLine</a>( painter, x0, yi, xi, yi );</div>
<div class="line"><a name="l00621"></a><span class="lineno">  621</span>&#160;        <span class="keywordflow">else</span></div>
<div class="line"><a name="l00622"></a><span class="lineno">  622</span>&#160;            <a class="code" href="class_qwt_painter.html#af7da8f2bd3bda731e76b564ba44ea6e7">QwtPainter::drawLine</a>( painter, xi, y0, xi, yi );</div>
<div class="line"><a name="l00623"></a><span class="lineno">  623</span>&#160;    }</div>
<div class="line"><a name="l00624"></a><span class="lineno">  624</span>&#160; </div>
<div class="line"><a name="l00625"></a><span class="lineno">  625</span>&#160;    painter-&gt;restore();</div>
<div class="line"><a name="l00626"></a><span class="lineno">  626</span>&#160;}</div>
<div class="line"><a name="l00627"></a><span class="lineno">  627</span>&#160; </div>
<div class="line"><a name="l00640"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#a48871008ee333f0887ff0d225645b332">  640</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_curve.html#a48871008ee333f0887ff0d225645b332">QwtPlotCurve::drawDots</a>( QPainter* painter,</div>
<div class="line"><a name="l00641"></a><span class="lineno">  641</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; xMap, <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; yMap,</div>
<div class="line"><a name="l00642"></a><span class="lineno">  642</span>&#160;    <span class="keyword">const</span> QRectF&amp; canvasRect, <span class="keywordtype">int</span> from, <span class="keywordtype">int</span> to )<span class="keyword"> const</span></div>
<div class="line"><a name="l00643"></a><span class="lineno">  643</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00644"></a><span class="lineno">  644</span>&#160;    <span class="keyword">const</span> QColor color = painter-&gt;pen().color();</div>
<div class="line"><a name="l00645"></a><span class="lineno">  645</span>&#160; </div>
<div class="line"><a name="l00646"></a><span class="lineno">  646</span>&#160;    <span class="keywordflow">if</span> ( painter-&gt;pen().style() == Qt::NoPen || color.alpha() == 0 )</div>
<div class="line"><a name="l00647"></a><span class="lineno">  647</span>&#160;    {</div>
<div class="line"><a name="l00648"></a><span class="lineno">  648</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00649"></a><span class="lineno">  649</span>&#160;    }</div>
<div class="line"><a name="l00650"></a><span class="lineno">  650</span>&#160; </div>
<div class="line"><a name="l00651"></a><span class="lineno">  651</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">bool</span> doFill = ( m_data-&gt;brush.style() != Qt::NoBrush )</div>
<div class="line"><a name="l00652"></a><span class="lineno">  652</span>&#160;        &amp;&amp; ( m_data-&gt;brush.color().alpha() &gt; 0 );</div>
<div class="line"><a name="l00653"></a><span class="lineno">  653</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">bool</span> doAlign = <a class="code" href="class_qwt_painter.html#ae9af230df7bb8d40b802d4f3205a8631">QwtPainter::roundingAlignment</a>( painter );</div>
<div class="line"><a name="l00654"></a><span class="lineno">  654</span>&#160; </div>
<div class="line"><a name="l00655"></a><span class="lineno">  655</span>&#160;    <a class="code" href="class_qwt_point_mapper.html">QwtPointMapper</a> mapper;</div>
<div class="line"><a name="l00656"></a><span class="lineno">  656</span>&#160;    mapper.<a class="code" href="class_qwt_point_mapper.html#a03910571df91575456e98134f6543650">setBoundingRect</a>( canvasRect );</div>
<div class="line"><a name="l00657"></a><span class="lineno">  657</span>&#160;    mapper.<a class="code" href="class_qwt_point_mapper.html#a6e03e14718d3d66a0f6a02fec7fcaeed">setFlag</a>( <a class="code" href="class_qwt_point_mapper.html#aafc07ceadb3f311057037ca8680e1c23a0e367a1519b0005cad8bb324854cc8e3">QwtPointMapper::RoundPoints</a>, doAlign );</div>
<div class="line"><a name="l00658"></a><span class="lineno">  658</span>&#160; </div>
<div class="line"><a name="l00659"></a><span class="lineno">  659</span>&#160;    <span class="keywordflow">if</span> ( m_data-&gt;paintAttributes &amp; <a class="code" href="class_qwt_plot_curve.html#a96db1b854c63bfbc452c943251a11b66af09c1c6ec8c8198124f0e41c391f8391">FilterPoints</a> )</div>
<div class="line"><a name="l00660"></a><span class="lineno">  660</span>&#160;    {</div>
<div class="line"><a name="l00661"></a><span class="lineno">  661</span>&#160;        <span class="keywordflow">if</span> ( ( color.alpha() == 255 )</div>
<div class="line"><a name="l00662"></a><span class="lineno">  662</span>&#160;            &amp;&amp; !( painter-&gt;renderHints() &amp; QPainter::Antialiasing ) )</div>
<div class="line"><a name="l00663"></a><span class="lineno">  663</span>&#160;        {</div>
<div class="line"><a name="l00664"></a><span class="lineno">  664</span>&#160;            mapper.<a class="code" href="class_qwt_point_mapper.html#a6e03e14718d3d66a0f6a02fec7fcaeed">setFlag</a>( <a class="code" href="class_qwt_point_mapper.html#aafc07ceadb3f311057037ca8680e1c23a288f41a8e4d53c895f7bffaaa9b5d9e4">QwtPointMapper::WeedOutPoints</a>, <span class="keyword">true</span> );</div>
<div class="line"><a name="l00665"></a><span class="lineno">  665</span>&#160;        }</div>
<div class="line"><a name="l00666"></a><span class="lineno">  666</span>&#160;    }</div>
<div class="line"><a name="l00667"></a><span class="lineno">  667</span>&#160; </div>
<div class="line"><a name="l00668"></a><span class="lineno">  668</span>&#160;    <span class="keywordflow">if</span> ( doFill )</div>
<div class="line"><a name="l00669"></a><span class="lineno">  669</span>&#160;    {</div>
<div class="line"><a name="l00670"></a><span class="lineno">  670</span>&#160;        mapper.<a class="code" href="class_qwt_point_mapper.html#a6e03e14718d3d66a0f6a02fec7fcaeed">setFlag</a>( <a class="code" href="class_qwt_point_mapper.html#aafc07ceadb3f311057037ca8680e1c23a288f41a8e4d53c895f7bffaaa9b5d9e4">QwtPointMapper::WeedOutPoints</a>, <span class="keyword">false</span> );</div>
<div class="line"><a name="l00671"></a><span class="lineno">  671</span>&#160; </div>
<div class="line"><a name="l00672"></a><span class="lineno">  672</span>&#160;        QPolygonF points = mapper.<a class="code" href="class_qwt_point_mapper.html#a394341ccba09dd293dddc7bb4f599891">toPolygonF</a>(</div>
<div class="line"><a name="l00673"></a><span class="lineno">  673</span>&#160;            xMap, yMap, <a class="code" href="class_qwt_series_store.html#aae258d330c8d1bd2057b1f0bc13700f9">data</a>(), from, to );</div>
<div class="line"><a name="l00674"></a><span class="lineno">  674</span>&#160; </div>
<div class="line"><a name="l00675"></a><span class="lineno">  675</span>&#160;        <a class="code" href="class_qwt_painter.html#a0e1bddfd725ea95f628c491149c2deba">QwtPainter::drawPoints</a>( painter, points );</div>
<div class="line"><a name="l00676"></a><span class="lineno">  676</span>&#160;        <a class="code" href="class_qwt_plot_curve.html#a2a600e735278d8547cd5e468c9fdf5cc">fillCurve</a>( painter, xMap, yMap, canvasRect, points );</div>
<div class="line"><a name="l00677"></a><span class="lineno">  677</span>&#160;    }</div>
<div class="line"><a name="l00678"></a><span class="lineno">  678</span>&#160;    <span class="keywordflow">else</span> <span class="keywordflow">if</span> ( m_data-&gt;paintAttributes &amp; <a class="code" href="class_qwt_plot_curve.html#a96db1b854c63bfbc452c943251a11b66a5e80434a35db4325ef8cdcb4dcb52282">ImageBuffer</a> )</div>
<div class="line"><a name="l00679"></a><span class="lineno">  679</span>&#160;    {</div>
<div class="line"><a name="l00680"></a><span class="lineno">  680</span>&#160;        <span class="keyword">const</span> QImage image = mapper.<a class="code" href="class_qwt_point_mapper.html#a48feb94a44632dafc78405e7a42ee65e">toImage</a>( xMap, yMap,</div>
<div class="line"><a name="l00681"></a><span class="lineno">  681</span>&#160;            <a class="code" href="class_qwt_series_store.html#aae258d330c8d1bd2057b1f0bc13700f9">data</a>(), from, to, m_data-&gt;pen,</div>
<div class="line"><a name="l00682"></a><span class="lineno">  682</span>&#160;            painter-&gt;testRenderHint( QPainter::Antialiasing ),</div>
<div class="line"><a name="l00683"></a><span class="lineno">  683</span>&#160;            <a class="code" href="class_qwt_plot_item.html#ae3651df9594cb48f8221f7b1cc7852ca">renderThreadCount</a>() );</div>
<div class="line"><a name="l00684"></a><span class="lineno">  684</span>&#160; </div>
<div class="line"><a name="l00685"></a><span class="lineno">  685</span>&#160;        painter-&gt;drawImage( canvasRect.toAlignedRect(), image );</div>
<div class="line"><a name="l00686"></a><span class="lineno">  686</span>&#160;    }</div>
<div class="line"><a name="l00687"></a><span class="lineno">  687</span>&#160;    <span class="keywordflow">else</span> <span class="keywordflow">if</span> ( m_data-&gt;paintAttributes &amp; <a class="code" href="class_qwt_plot_curve.html#a96db1b854c63bfbc452c943251a11b66a154c720d852e71b7909adf5e56a3500d">MinimizeMemory</a> )</div>
<div class="line"><a name="l00688"></a><span class="lineno">  688</span>&#160;    {</div>
<div class="line"><a name="l00689"></a><span class="lineno">  689</span>&#160;        <span class="keyword">const</span> <a class="code" href="class_qwt_series_data.html">QwtSeriesData&lt; QPointF &gt;</a>* series = <a class="code" href="class_qwt_series_store.html#aae258d330c8d1bd2057b1f0bc13700f9">data</a>();</div>
<div class="line"><a name="l00690"></a><span class="lineno">  690</span>&#160; </div>
<div class="line"><a name="l00691"></a><span class="lineno">  691</span>&#160;        <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = from; i &lt;= to; i++ )</div>
<div class="line"><a name="l00692"></a><span class="lineno">  692</span>&#160;        {</div>
<div class="line"><a name="l00693"></a><span class="lineno">  693</span>&#160;            <span class="keyword">const</span> QPointF <a class="code" href="class_qwt_series_store.html#a09f98212173ac6de604d8b63ebf6bb0a">sample</a> = series-&gt;<a class="code" href="class_qwt_series_data.html#ae8650d16c07c58f01897ab48658a3266">sample</a>( i );</div>
<div class="line"><a name="l00694"></a><span class="lineno">  694</span>&#160; </div>
<div class="line"><a name="l00695"></a><span class="lineno">  695</span>&#160;            <span class="keywordtype">double</span> xi = xMap.<a class="code" href="class_qwt_scale_map.html#a504f1627e0e02ddac03d2ce46507b865">transform</a>( <a class="code" href="class_qwt_series_store.html#a09f98212173ac6de604d8b63ebf6bb0a">sample</a>.x() );</div>
<div class="line"><a name="l00696"></a><span class="lineno">  696</span>&#160;            <span class="keywordtype">double</span> yi = yMap.<a class="code" href="class_qwt_scale_map.html#a504f1627e0e02ddac03d2ce46507b865">transform</a>( <a class="code" href="class_qwt_series_store.html#a09f98212173ac6de604d8b63ebf6bb0a">sample</a>.y() );</div>
<div class="line"><a name="l00697"></a><span class="lineno">  697</span>&#160; </div>
<div class="line"><a name="l00698"></a><span class="lineno">  698</span>&#160;            <span class="keywordflow">if</span> ( doAlign )</div>
<div class="line"><a name="l00699"></a><span class="lineno">  699</span>&#160;            {</div>
<div class="line"><a name="l00700"></a><span class="lineno">  700</span>&#160;                xi = qRound( xi );</div>
<div class="line"><a name="l00701"></a><span class="lineno">  701</span>&#160;                yi = qRound( yi );</div>
<div class="line"><a name="l00702"></a><span class="lineno">  702</span>&#160;            }</div>
<div class="line"><a name="l00703"></a><span class="lineno">  703</span>&#160; </div>
<div class="line"><a name="l00704"></a><span class="lineno">  704</span>&#160;            <a class="code" href="class_qwt_painter.html#ab2e88f78d51387c661a9e10352ab945c">QwtPainter::drawPoint</a>( painter, QPointF( xi, yi ) );</div>
<div class="line"><a name="l00705"></a><span class="lineno">  705</span>&#160;        }</div>
<div class="line"><a name="l00706"></a><span class="lineno">  706</span>&#160;    }</div>
<div class="line"><a name="l00707"></a><span class="lineno">  707</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00708"></a><span class="lineno">  708</span>&#160;    {</div>
<div class="line"><a name="l00709"></a><span class="lineno">  709</span>&#160;        <span class="keywordflow">if</span> ( doAlign )</div>
<div class="line"><a name="l00710"></a><span class="lineno">  710</span>&#160;        {</div>
<div class="line"><a name="l00711"></a><span class="lineno">  711</span>&#160;            <span class="keyword">const</span> QPolygon points = mapper.<a class="code" href="class_qwt_point_mapper.html#ad580fc22b1bfcc353e711712cad15ae0">toPoints</a>(</div>
<div class="line"><a name="l00712"></a><span class="lineno">  712</span>&#160;                xMap, yMap, <a class="code" href="class_qwt_series_store.html#aae258d330c8d1bd2057b1f0bc13700f9">data</a>(), from, to );</div>
<div class="line"><a name="l00713"></a><span class="lineno">  713</span>&#160; </div>
<div class="line"><a name="l00714"></a><span class="lineno">  714</span>&#160;            <a class="code" href="class_qwt_painter.html#a0e1bddfd725ea95f628c491149c2deba">QwtPainter::drawPoints</a>( painter, points );</div>
<div class="line"><a name="l00715"></a><span class="lineno">  715</span>&#160;        }</div>
<div class="line"><a name="l00716"></a><span class="lineno">  716</span>&#160;        <span class="keywordflow">else</span></div>
<div class="line"><a name="l00717"></a><span class="lineno">  717</span>&#160;        {</div>
<div class="line"><a name="l00718"></a><span class="lineno">  718</span>&#160;            <span class="keyword">const</span> QPolygonF points = mapper.<a class="code" href="class_qwt_point_mapper.html#a69d9ab6398de007d851e7d386ec5dfb7">toPointsF</a>(</div>
<div class="line"><a name="l00719"></a><span class="lineno">  719</span>&#160;                xMap, yMap, <a class="code" href="class_qwt_series_store.html#aae258d330c8d1bd2057b1f0bc13700f9">data</a>(), from, to );</div>
<div class="line"><a name="l00720"></a><span class="lineno">  720</span>&#160; </div>
<div class="line"><a name="l00721"></a><span class="lineno">  721</span>&#160;            <a class="code" href="class_qwt_painter.html#a0e1bddfd725ea95f628c491149c2deba">QwtPainter::drawPoints</a>( painter, points );</div>
<div class="line"><a name="l00722"></a><span class="lineno">  722</span>&#160;        }</div>
<div class="line"><a name="l00723"></a><span class="lineno">  723</span>&#160;    }</div>
<div class="line"><a name="l00724"></a><span class="lineno">  724</span>&#160;}</div>
<div class="line"><a name="l00725"></a><span class="lineno">  725</span>&#160; </div>
<div class="line"><a name="l00741"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#af830c84cdcfa96f33432317e79dece3e">  741</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_curve.html#af830c84cdcfa96f33432317e79dece3e">QwtPlotCurve::drawSteps</a>( QPainter* painter,</div>
<div class="line"><a name="l00742"></a><span class="lineno">  742</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; xMap, <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; yMap,</div>
<div class="line"><a name="l00743"></a><span class="lineno">  743</span>&#160;    <span class="keyword">const</span> QRectF&amp; canvasRect, <span class="keywordtype">int</span> from, <span class="keywordtype">int</span> to )<span class="keyword"> const</span></div>
<div class="line"><a name="l00744"></a><span class="lineno">  744</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00745"></a><span class="lineno">  745</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">bool</span> doAlign = <a class="code" href="class_qwt_painter.html#ae9af230df7bb8d40b802d4f3205a8631">QwtPainter::roundingAlignment</a>( painter );</div>
<div class="line"><a name="l00746"></a><span class="lineno">  746</span>&#160; </div>
<div class="line"><a name="l00747"></a><span class="lineno">  747</span>&#160;    QPolygonF polygon( 2 * ( to - from ) + 1 );</div>
<div class="line"><a name="l00748"></a><span class="lineno">  748</span>&#160;    QPointF* points = polygon.data();</div>
<div class="line"><a name="l00749"></a><span class="lineno">  749</span>&#160; </div>
<div class="line"><a name="l00750"></a><span class="lineno">  750</span>&#160;    <span class="keywordtype">bool</span> inverted = <a class="code" href="class_qwt_plot_series_item.html#a2717f491367632327a753eab8517506e">orientation</a>() == Qt::Vertical;</div>
<div class="line"><a name="l00751"></a><span class="lineno">  751</span>&#160;    <span class="keywordflow">if</span> ( m_data-&gt;attributes &amp; <a class="code" href="class_qwt_plot_curve.html#a38064f7de6f026a49db782c365f872c3af7790b4716576fd0641ec393f476bc46">Inverted</a> )</div>
<div class="line"><a name="l00752"></a><span class="lineno">  752</span>&#160;        inverted = !inverted;</div>
<div class="line"><a name="l00753"></a><span class="lineno">  753</span>&#160; </div>
<div class="line"><a name="l00754"></a><span class="lineno">  754</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_series_data.html">QwtSeriesData&lt; QPointF &gt;</a>* series = <a class="code" href="class_qwt_series_store.html#aae258d330c8d1bd2057b1f0bc13700f9">data</a>();</div>
<div class="line"><a name="l00755"></a><span class="lineno">  755</span>&#160; </div>
<div class="line"><a name="l00756"></a><span class="lineno">  756</span>&#160;    <span class="keywordtype">int</span> i, ip;</div>
<div class="line"><a name="l00757"></a><span class="lineno">  757</span>&#160;    <span class="keywordflow">for</span> ( i = from, ip = 0; i &lt;= to; i++, ip += 2 )</div>
<div class="line"><a name="l00758"></a><span class="lineno">  758</span>&#160;    {</div>
<div class="line"><a name="l00759"></a><span class="lineno">  759</span>&#160;        <span class="keyword">const</span> QPointF <a class="code" href="class_qwt_series_store.html#a09f98212173ac6de604d8b63ebf6bb0a">sample</a> = series-&gt;<a class="code" href="class_qwt_series_data.html#ae8650d16c07c58f01897ab48658a3266">sample</a>( i );</div>
<div class="line"><a name="l00760"></a><span class="lineno">  760</span>&#160;        <span class="keywordtype">double</span> xi = xMap.<a class="code" href="class_qwt_scale_map.html#a504f1627e0e02ddac03d2ce46507b865">transform</a>( <a class="code" href="class_qwt_series_store.html#a09f98212173ac6de604d8b63ebf6bb0a">sample</a>.x() );</div>
<div class="line"><a name="l00761"></a><span class="lineno">  761</span>&#160;        <span class="keywordtype">double</span> yi = yMap.<a class="code" href="class_qwt_scale_map.html#a504f1627e0e02ddac03d2ce46507b865">transform</a>( <a class="code" href="class_qwt_series_store.html#a09f98212173ac6de604d8b63ebf6bb0a">sample</a>.y() );</div>
<div class="line"><a name="l00762"></a><span class="lineno">  762</span>&#160;        <span class="keywordflow">if</span> ( doAlign )</div>
<div class="line"><a name="l00763"></a><span class="lineno">  763</span>&#160;        {</div>
<div class="line"><a name="l00764"></a><span class="lineno">  764</span>&#160;            xi = qRound( xi );</div>
<div class="line"><a name="l00765"></a><span class="lineno">  765</span>&#160;            yi = qRound( yi );</div>
<div class="line"><a name="l00766"></a><span class="lineno">  766</span>&#160;        }</div>
<div class="line"><a name="l00767"></a><span class="lineno">  767</span>&#160; </div>
<div class="line"><a name="l00768"></a><span class="lineno">  768</span>&#160;        <span class="keywordflow">if</span> ( ip &gt; 0 )</div>
<div class="line"><a name="l00769"></a><span class="lineno">  769</span>&#160;        {</div>
<div class="line"><a name="l00770"></a><span class="lineno">  770</span>&#160;            <span class="keyword">const</span> QPointF&amp; p0 = points[ip - 2];</div>
<div class="line"><a name="l00771"></a><span class="lineno">  771</span>&#160;            QPointF&amp; p = points[ip - 1];</div>
<div class="line"><a name="l00772"></a><span class="lineno">  772</span>&#160; </div>
<div class="line"><a name="l00773"></a><span class="lineno">  773</span>&#160;            <span class="keywordflow">if</span> ( inverted )</div>
<div class="line"><a name="l00774"></a><span class="lineno">  774</span>&#160;            {</div>
<div class="line"><a name="l00775"></a><span class="lineno">  775</span>&#160;                p.rx() = p0.x();</div>
<div class="line"><a name="l00776"></a><span class="lineno">  776</span>&#160;                p.ry() = yi;</div>
<div class="line"><a name="l00777"></a><span class="lineno">  777</span>&#160;            }</div>
<div class="line"><a name="l00778"></a><span class="lineno">  778</span>&#160;            <span class="keywordflow">else</span></div>
<div class="line"><a name="l00779"></a><span class="lineno">  779</span>&#160;            {</div>
<div class="line"><a name="l00780"></a><span class="lineno">  780</span>&#160;                p.rx() = xi;</div>
<div class="line"><a name="l00781"></a><span class="lineno">  781</span>&#160;                p.ry() = p0.y();</div>
<div class="line"><a name="l00782"></a><span class="lineno">  782</span>&#160;            }</div>
<div class="line"><a name="l00783"></a><span class="lineno">  783</span>&#160;        }</div>
<div class="line"><a name="l00784"></a><span class="lineno">  784</span>&#160; </div>
<div class="line"><a name="l00785"></a><span class="lineno">  785</span>&#160;        points[ip].rx() = xi;</div>
<div class="line"><a name="l00786"></a><span class="lineno">  786</span>&#160;        points[ip].ry() = yi;</div>
<div class="line"><a name="l00787"></a><span class="lineno">  787</span>&#160;    }</div>
<div class="line"><a name="l00788"></a><span class="lineno">  788</span>&#160; </div>
<div class="line"><a name="l00789"></a><span class="lineno">  789</span>&#160;    <span class="keywordflow">if</span> ( m_data-&gt;paintAttributes &amp; <a class="code" href="class_qwt_plot_curve.html#a96db1b854c63bfbc452c943251a11b66a26f9aa8ae434aa94b4049b9908995abf">ClipPolygons</a> )</div>
<div class="line"><a name="l00790"></a><span class="lineno">  790</span>&#160;    {</div>
<div class="line"><a name="l00791"></a><span class="lineno">  791</span>&#160;        QRectF clipRect = qwtIntersectedClipRect( canvasRect, painter );</div>
<div class="line"><a name="l00792"></a><span class="lineno">  792</span>&#160; </div>
<div class="line"><a name="l00793"></a><span class="lineno">  793</span>&#160;        <span class="keyword">const</span> qreal pw = <a class="code" href="class_qwt_painter.html#a9861338f5900c731fa66423aa6f29b88">QwtPainter::effectivePenWidth</a>( painter-&gt;pen() );</div>
<div class="line"><a name="l00794"></a><span class="lineno">  794</span>&#160;        clipRect = clipRect.adjusted(-pw, -pw, pw, pw);</div>
<div class="line"><a name="l00795"></a><span class="lineno">  795</span>&#160; </div>
<div class="line"><a name="l00796"></a><span class="lineno">  796</span>&#160;        <span class="keyword">const</span> QPolygonF clipped = <a class="code" href="namespace_qwt_clipper.html#a7c876c77f33931add58f80a98885af07">QwtClipper::clippedPolygonF</a>(</div>
<div class="line"><a name="l00797"></a><span class="lineno">  797</span>&#160;            clipRect, polygon, <span class="keyword">false</span> );</div>
<div class="line"><a name="l00798"></a><span class="lineno">  798</span>&#160; </div>
<div class="line"><a name="l00799"></a><span class="lineno">  799</span>&#160;        <a class="code" href="class_qwt_painter.html#a60ab9909e9eac196c022b1ec6200d198">QwtPainter::drawPolyline</a>( painter, clipped );</div>
<div class="line"><a name="l00800"></a><span class="lineno">  800</span>&#160;    }</div>
<div class="line"><a name="l00801"></a><span class="lineno">  801</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00802"></a><span class="lineno">  802</span>&#160;    {</div>
<div class="line"><a name="l00803"></a><span class="lineno">  803</span>&#160;        <a class="code" href="class_qwt_painter.html#a60ab9909e9eac196c022b1ec6200d198">QwtPainter::drawPolyline</a>( painter, polygon );</div>
<div class="line"><a name="l00804"></a><span class="lineno">  804</span>&#160;    }</div>
<div class="line"><a name="l00805"></a><span class="lineno">  805</span>&#160; </div>
<div class="line"><a name="l00806"></a><span class="lineno">  806</span>&#160;    <span class="keywordflow">if</span> ( m_data-&gt;brush.style() != Qt::NoBrush )</div>
<div class="line"><a name="l00807"></a><span class="lineno">  807</span>&#160;        <a class="code" href="class_qwt_plot_curve.html#a2a600e735278d8547cd5e468c9fdf5cc">fillCurve</a>( painter, xMap, yMap, canvasRect, polygon );</div>
<div class="line"><a name="l00808"></a><span class="lineno">  808</span>&#160;}</div>
<div class="line"><a name="l00809"></a><span class="lineno">  809</span>&#160; </div>
<div class="line"><a name="l00810"></a><span class="lineno">  810</span>&#160; </div>
<div class="line"><a name="l00819"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#a6ac9243e280f96cd149102a91271a473">  819</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_curve.html#a6ac9243e280f96cd149102a91271a473">QwtPlotCurve::setCurveAttribute</a>( <a class="code" href="class_qwt_plot_curve.html#a38064f7de6f026a49db782c365f872c3">CurveAttribute</a> attribute, <span class="keywordtype">bool</span> on )</div>
<div class="line"><a name="l00820"></a><span class="lineno">  820</span>&#160;{</div>
<div class="line"><a name="l00821"></a><span class="lineno">  821</span>&#160;    <span class="keywordflow">if</span> ( <span class="keywordtype">bool</span>( m_data-&gt;attributes &amp; attribute ) == on )</div>
<div class="line"><a name="l00822"></a><span class="lineno">  822</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00823"></a><span class="lineno">  823</span>&#160; </div>
<div class="line"><a name="l00824"></a><span class="lineno">  824</span>&#160;    <span class="keywordflow">if</span> ( on )</div>
<div class="line"><a name="l00825"></a><span class="lineno">  825</span>&#160;        m_data-&gt;attributes |= attribute;</div>
<div class="line"><a name="l00826"></a><span class="lineno">  826</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00827"></a><span class="lineno">  827</span>&#160;        m_data-&gt;attributes &amp;= ~attribute;</div>
<div class="line"><a name="l00828"></a><span class="lineno">  828</span>&#160; </div>
<div class="line"><a name="l00829"></a><span class="lineno">  829</span>&#160;    <a class="code" href="class_qwt_plot_item.html#ad956fdbce5b0721abccce6d09fe4d5ce">itemChanged</a>();</div>
<div class="line"><a name="l00830"></a><span class="lineno">  830</span>&#160;}</div>
<div class="line"><a name="l00831"></a><span class="lineno">  831</span>&#160; </div>
<div class="line"><a name="l00836"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#a6854cb99986d47d6e146e53c1cd164b1">  836</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_qwt_plot_curve.html#a6854cb99986d47d6e146e53c1cd164b1">QwtPlotCurve::testCurveAttribute</a>( <a class="code" href="class_qwt_plot_curve.html#a38064f7de6f026a49db782c365f872c3">CurveAttribute</a> attribute )<span class="keyword"> const</span></div>
<div class="line"><a name="l00837"></a><span class="lineno">  837</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00838"></a><span class="lineno">  838</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;attributes &amp; attribute;</div>
<div class="line"><a name="l00839"></a><span class="lineno">  839</span>&#160;}</div>
<div class="line"><a name="l00840"></a><span class="lineno">  840</span>&#160; </div>
<div class="line"><a name="l00858"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#ac15588c78d175906a30de501b4dd7957">  858</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_curve.html#ac15588c78d175906a30de501b4dd7957">QwtPlotCurve::setCurveFitter</a>( <a class="code" href="class_qwt_curve_fitter.html">QwtCurveFitter</a>* curveFitter )</div>
<div class="line"><a name="l00859"></a><span class="lineno">  859</span>&#160;{</div>
<div class="line"><a name="l00860"></a><span class="lineno">  860</span>&#160;    <span class="keyword">delete</span> m_data-&gt;curveFitter;</div>
<div class="line"><a name="l00861"></a><span class="lineno">  861</span>&#160;    m_data-&gt;curveFitter = <a class="code" href="class_qwt_plot_curve.html#ae988a31fedc9f30c0baf34dde80c125a">curveFitter</a>;</div>
<div class="line"><a name="l00862"></a><span class="lineno">  862</span>&#160; </div>
<div class="line"><a name="l00863"></a><span class="lineno">  863</span>&#160;    <a class="code" href="class_qwt_plot_item.html#ad956fdbce5b0721abccce6d09fe4d5ce">itemChanged</a>();</div>
<div class="line"><a name="l00864"></a><span class="lineno">  864</span>&#160;}</div>
<div class="line"><a name="l00865"></a><span class="lineno">  865</span>&#160; </div>
<div class="line"><a name="l00872"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#ae988a31fedc9f30c0baf34dde80c125a">  872</a></span>&#160;<a class="code" href="class_qwt_curve_fitter.html">QwtCurveFitter</a>* <a class="code" href="class_qwt_plot_curve.html#ae988a31fedc9f30c0baf34dde80c125a">QwtPlotCurve::curveFitter</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00873"></a><span class="lineno">  873</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00874"></a><span class="lineno">  874</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;curveFitter;</div>
<div class="line"><a name="l00875"></a><span class="lineno">  875</span>&#160;}</div>
<div class="line"><a name="l00876"></a><span class="lineno">  876</span>&#160; </div>
<div class="line"><a name="l00889"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#a2a600e735278d8547cd5e468c9fdf5cc">  889</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_curve.html#a2a600e735278d8547cd5e468c9fdf5cc">QwtPlotCurve::fillCurve</a>( QPainter* painter,</div>
<div class="line"><a name="l00890"></a><span class="lineno">  890</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; xMap, <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; yMap,</div>
<div class="line"><a name="l00891"></a><span class="lineno">  891</span>&#160;    <span class="keyword">const</span> QRectF&amp; canvasRect, QPolygonF&amp; polygon )<span class="keyword"> const</span></div>
<div class="line"><a name="l00892"></a><span class="lineno">  892</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00893"></a><span class="lineno">  893</span>&#160;    <span class="keywordflow">if</span> ( m_data-&gt;brush.style() == Qt::NoBrush )</div>
<div class="line"><a name="l00894"></a><span class="lineno">  894</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00895"></a><span class="lineno">  895</span>&#160; </div>
<div class="line"><a name="l00896"></a><span class="lineno">  896</span>&#160;    <a class="code" href="class_qwt_plot_curve.html#a1d0797dd72dc5958457eec4b0591c42a">closePolyline</a>( painter, xMap, yMap, polygon );</div>
<div class="line"><a name="l00897"></a><span class="lineno">  897</span>&#160;    <span class="keywordflow">if</span> ( polygon.count() &lt;= 2 ) <span class="comment">// a line can&#39;t be filled</span></div>
<div class="line"><a name="l00898"></a><span class="lineno">  898</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00899"></a><span class="lineno">  899</span>&#160; </div>
<div class="line"><a name="l00900"></a><span class="lineno">  900</span>&#160;    QBrush <a class="code" href="class_qwt_plot_curve.html#ad2481212584bb3c4023184c6acedfba1">brush</a> = m_data-&gt;brush;</div>
<div class="line"><a name="l00901"></a><span class="lineno">  901</span>&#160;    <span class="keywordflow">if</span> ( !<a class="code" href="class_qwt_plot_curve.html#ad2481212584bb3c4023184c6acedfba1">brush</a>.color().isValid() )</div>
<div class="line"><a name="l00902"></a><span class="lineno">  902</span>&#160;        <a class="code" href="class_qwt_plot_curve.html#ad2481212584bb3c4023184c6acedfba1">brush</a>.setColor( m_data-&gt;pen.color() );</div>
<div class="line"><a name="l00903"></a><span class="lineno">  903</span>&#160; </div>
<div class="line"><a name="l00904"></a><span class="lineno">  904</span>&#160;    <span class="keywordflow">if</span> ( m_data-&gt;paintAttributes &amp; <a class="code" href="class_qwt_plot_curve.html#a96db1b854c63bfbc452c943251a11b66a26f9aa8ae434aa94b4049b9908995abf">ClipPolygons</a> )</div>
<div class="line"><a name="l00905"></a><span class="lineno">  905</span>&#160;    {</div>
<div class="line"><a name="l00906"></a><span class="lineno">  906</span>&#160;        <span class="keyword">const</span> QRectF clipRect = qwtIntersectedClipRect( canvasRect, painter );</div>
<div class="line"><a name="l00907"></a><span class="lineno">  907</span>&#160;        <a class="code" href="namespace_qwt_clipper.html#aa5305d415fd97b332825e68b6cb25715">QwtClipper::clipPolygonF</a>( clipRect, polygon, <span class="keyword">true</span> );</div>
<div class="line"><a name="l00908"></a><span class="lineno">  908</span>&#160;    }</div>
<div class="line"><a name="l00909"></a><span class="lineno">  909</span>&#160; </div>
<div class="line"><a name="l00910"></a><span class="lineno">  910</span>&#160;    painter-&gt;save();</div>
<div class="line"><a name="l00911"></a><span class="lineno">  911</span>&#160; </div>
<div class="line"><a name="l00912"></a><span class="lineno">  912</span>&#160;    painter-&gt;setPen( Qt::NoPen );</div>
<div class="line"><a name="l00913"></a><span class="lineno">  913</span>&#160;    painter-&gt;setBrush( <a class="code" href="class_qwt_plot_curve.html#ad2481212584bb3c4023184c6acedfba1">brush</a> );</div>
<div class="line"><a name="l00914"></a><span class="lineno">  914</span>&#160; </div>
<div class="line"><a name="l00915"></a><span class="lineno">  915</span>&#160;    <a class="code" href="class_qwt_painter.html#a2fff1088059c230864ac1eff90d8e975">QwtPainter::drawPolygon</a>( painter, polygon );</div>
<div class="line"><a name="l00916"></a><span class="lineno">  916</span>&#160; </div>
<div class="line"><a name="l00917"></a><span class="lineno">  917</span>&#160;    painter-&gt;restore();</div>
<div class="line"><a name="l00918"></a><span class="lineno">  918</span>&#160;}</div>
<div class="line"><a name="l00919"></a><span class="lineno">  919</span>&#160; </div>
<div class="line"><a name="l00929"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#a1d0797dd72dc5958457eec4b0591c42a">  929</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_curve.html#a1d0797dd72dc5958457eec4b0591c42a">QwtPlotCurve::closePolyline</a>( QPainter* painter,</div>
<div class="line"><a name="l00930"></a><span class="lineno">  930</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; xMap, <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; yMap,</div>
<div class="line"><a name="l00931"></a><span class="lineno">  931</span>&#160;    QPolygonF&amp; polygon )<span class="keyword"> const</span></div>
<div class="line"><a name="l00932"></a><span class="lineno">  932</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00933"></a><span class="lineno">  933</span>&#160;    <span class="keywordflow">if</span> ( polygon.size() &lt; 2 )</div>
<div class="line"><a name="l00934"></a><span class="lineno">  934</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00935"></a><span class="lineno">  935</span>&#160; </div>
<div class="line"><a name="l00936"></a><span class="lineno">  936</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">bool</span> doAlign = <a class="code" href="class_qwt_painter.html#ae9af230df7bb8d40b802d4f3205a8631">QwtPainter::roundingAlignment</a>( painter );</div>
<div class="line"><a name="l00937"></a><span class="lineno">  937</span>&#160; </div>
<div class="line"><a name="l00938"></a><span class="lineno">  938</span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_qwt_plot_curve.html#af1b8d1a415addf18ee17bfeea7ffdc79">baseline</a> = m_data-&gt;baseline;</div>
<div class="line"><a name="l00939"></a><span class="lineno">  939</span>&#160; </div>
<div class="line"><a name="l00940"></a><span class="lineno">  940</span>&#160;    <span class="keywordflow">if</span> ( <a class="code" href="class_qwt_plot_series_item.html#a2717f491367632327a753eab8517506e">orientation</a>() == Qt::Vertical )</div>
<div class="line"><a name="l00941"></a><span class="lineno">  941</span>&#160;    {</div>
<div class="line"><a name="l00942"></a><span class="lineno">  942</span>&#160;        <span class="keywordflow">if</span> ( yMap.<a class="code" href="class_qwt_scale_map.html#a810c561caaad7d6573a1e8ff06fe4b23">transformation</a>() )</div>
<div class="line"><a name="l00943"></a><span class="lineno">  943</span>&#160;            <a class="code" href="class_qwt_plot_curve.html#af1b8d1a415addf18ee17bfeea7ffdc79">baseline</a> = yMap.<a class="code" href="class_qwt_scale_map.html#a810c561caaad7d6573a1e8ff06fe4b23">transformation</a>()-&gt;<a class="code" href="class_qwt_transform.html#aef97acf17f900905f2a93cec7f61e643">bounded</a>( <a class="code" href="class_qwt_plot_curve.html#af1b8d1a415addf18ee17bfeea7ffdc79">baseline</a> );</div>
<div class="line"><a name="l00944"></a><span class="lineno">  944</span>&#160; </div>
<div class="line"><a name="l00945"></a><span class="lineno">  945</span>&#160;        <span class="keywordtype">double</span> refY = yMap.<a class="code" href="class_qwt_scale_map.html#a504f1627e0e02ddac03d2ce46507b865">transform</a>( <a class="code" href="class_qwt_plot_curve.html#af1b8d1a415addf18ee17bfeea7ffdc79">baseline</a> );</div>
<div class="line"><a name="l00946"></a><span class="lineno">  946</span>&#160;        <span class="keywordflow">if</span> ( doAlign )</div>
<div class="line"><a name="l00947"></a><span class="lineno">  947</span>&#160;            refY = qRound( refY );</div>
<div class="line"><a name="l00948"></a><span class="lineno">  948</span>&#160; </div>
<div class="line"><a name="l00949"></a><span class="lineno">  949</span>&#160;        polygon += QPointF( polygon.last().x(), refY );</div>
<div class="line"><a name="l00950"></a><span class="lineno">  950</span>&#160;        polygon += QPointF( polygon.first().x(), refY );</div>
<div class="line"><a name="l00951"></a><span class="lineno">  951</span>&#160;    }</div>
<div class="line"><a name="l00952"></a><span class="lineno">  952</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00953"></a><span class="lineno">  953</span>&#160;    {</div>
<div class="line"><a name="l00954"></a><span class="lineno">  954</span>&#160;        <span class="keywordflow">if</span> ( xMap.<a class="code" href="class_qwt_scale_map.html#a810c561caaad7d6573a1e8ff06fe4b23">transformation</a>() )</div>
<div class="line"><a name="l00955"></a><span class="lineno">  955</span>&#160;            <a class="code" href="class_qwt_plot_curve.html#af1b8d1a415addf18ee17bfeea7ffdc79">baseline</a> = xMap.<a class="code" href="class_qwt_scale_map.html#a810c561caaad7d6573a1e8ff06fe4b23">transformation</a>()-&gt;<a class="code" href="class_qwt_transform.html#aef97acf17f900905f2a93cec7f61e643">bounded</a>( <a class="code" href="class_qwt_plot_curve.html#af1b8d1a415addf18ee17bfeea7ffdc79">baseline</a> );</div>
<div class="line"><a name="l00956"></a><span class="lineno">  956</span>&#160; </div>
<div class="line"><a name="l00957"></a><span class="lineno">  957</span>&#160;        <span class="keywordtype">double</span> refX = xMap.<a class="code" href="class_qwt_scale_map.html#a504f1627e0e02ddac03d2ce46507b865">transform</a>( <a class="code" href="class_qwt_plot_curve.html#af1b8d1a415addf18ee17bfeea7ffdc79">baseline</a> );</div>
<div class="line"><a name="l00958"></a><span class="lineno">  958</span>&#160;        <span class="keywordflow">if</span> ( doAlign )</div>
<div class="line"><a name="l00959"></a><span class="lineno">  959</span>&#160;            refX = qRound( refX );</div>
<div class="line"><a name="l00960"></a><span class="lineno">  960</span>&#160; </div>
<div class="line"><a name="l00961"></a><span class="lineno">  961</span>&#160;        polygon += QPointF( refX, polygon.last().y() );</div>
<div class="line"><a name="l00962"></a><span class="lineno">  962</span>&#160;        polygon += QPointF( refX, polygon.first().y() );</div>
<div class="line"><a name="l00963"></a><span class="lineno">  963</span>&#160;    }</div>
<div class="line"><a name="l00964"></a><span class="lineno">  964</span>&#160;}</div>
<div class="line"><a name="l00965"></a><span class="lineno">  965</span>&#160; </div>
<div class="line"><a name="l00979"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#a5e0a456fafffac2dfda524b44759dd9a">  979</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_curve.html#a5e0a456fafffac2dfda524b44759dd9a">QwtPlotCurve::drawSymbols</a>( QPainter* painter, <span class="keyword">const</span> <a class="code" href="class_qwt_symbol.html">QwtSymbol</a>&amp; symbol,</div>
<div class="line"><a name="l00980"></a><span class="lineno">  980</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; xMap, <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; yMap,</div>
<div class="line"><a name="l00981"></a><span class="lineno">  981</span>&#160;    <span class="keyword">const</span> QRectF&amp; canvasRect, <span class="keywordtype">int</span> from, <span class="keywordtype">int</span> to )<span class="keyword"> const</span></div>
<div class="line"><a name="l00982"></a><span class="lineno">  982</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00983"></a><span class="lineno">  983</span>&#160;    <a class="code" href="class_qwt_point_mapper.html">QwtPointMapper</a> mapper;</div>
<div class="line"><a name="l00984"></a><span class="lineno">  984</span>&#160;    mapper.<a class="code" href="class_qwt_point_mapper.html#a6e03e14718d3d66a0f6a02fec7fcaeed">setFlag</a>( <a class="code" href="class_qwt_point_mapper.html#aafc07ceadb3f311057037ca8680e1c23a0e367a1519b0005cad8bb324854cc8e3">QwtPointMapper::RoundPoints</a>,</div>
<div class="line"><a name="l00985"></a><span class="lineno">  985</span>&#160;        <a class="code" href="class_qwt_painter.html#ae9af230df7bb8d40b802d4f3205a8631">QwtPainter::roundingAlignment</a>( painter ) );</div>
<div class="line"><a name="l00986"></a><span class="lineno">  986</span>&#160;    mapper.<a class="code" href="class_qwt_point_mapper.html#a6e03e14718d3d66a0f6a02fec7fcaeed">setFlag</a>( <a class="code" href="class_qwt_point_mapper.html#aafc07ceadb3f311057037ca8680e1c23a288f41a8e4d53c895f7bffaaa9b5d9e4">QwtPointMapper::WeedOutPoints</a>,</div>
<div class="line"><a name="l00987"></a><span class="lineno">  987</span>&#160;        <a class="code" href="class_qwt_plot_curve.html#a97c5d16689ddc8b76317522f8a3eb7e4">testPaintAttribute</a>( <a class="code" href="class_qwt_plot_curve.html#a96db1b854c63bfbc452c943251a11b66af09c1c6ec8c8198124f0e41c391f8391">QwtPlotCurve::FilterPoints</a> ) );</div>
<div class="line"><a name="l00988"></a><span class="lineno">  988</span>&#160; </div>
<div class="line"><a name="l00989"></a><span class="lineno">  989</span>&#160;    <span class="keyword">const</span> QRectF clipRect = qwtIntersectedClipRect( canvasRect, painter );</div>
<div class="line"><a name="l00990"></a><span class="lineno">  990</span>&#160;    mapper.<a class="code" href="class_qwt_point_mapper.html#a03910571df91575456e98134f6543650">setBoundingRect</a>( clipRect );</div>
<div class="line"><a name="l00991"></a><span class="lineno">  991</span>&#160; </div>
<div class="line"><a name="l00992"></a><span class="lineno">  992</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">int</span> chunkSize = 500;</div>
<div class="line"><a name="l00993"></a><span class="lineno">  993</span>&#160; </div>
<div class="line"><a name="l00994"></a><span class="lineno">  994</span>&#160;    <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = from; i &lt;= to; i += chunkSize )</div>
<div class="line"><a name="l00995"></a><span class="lineno">  995</span>&#160;    {</div>
<div class="line"><a name="l00996"></a><span class="lineno">  996</span>&#160;        <span class="keyword">const</span> <span class="keywordtype">int</span> n = qMin( chunkSize, to - i + 1 );</div>
<div class="line"><a name="l00997"></a><span class="lineno">  997</span>&#160; </div>
<div class="line"><a name="l00998"></a><span class="lineno">  998</span>&#160;        <span class="keyword">const</span> QPolygonF points = mapper.<a class="code" href="class_qwt_point_mapper.html#a69d9ab6398de007d851e7d386ec5dfb7">toPointsF</a>( xMap, yMap,</div>
<div class="line"><a name="l00999"></a><span class="lineno">  999</span>&#160;            <a class="code" href="class_qwt_series_store.html#aae258d330c8d1bd2057b1f0bc13700f9">data</a>(), i, i + n - 1 );</div>
<div class="line"><a name="l01000"></a><span class="lineno"> 1000</span>&#160; </div>
<div class="line"><a name="l01001"></a><span class="lineno"> 1001</span>&#160;        <span class="keywordflow">if</span> ( points.size() &gt; 0 )</div>
<div class="line"><a name="l01002"></a><span class="lineno"> 1002</span>&#160;            <a class="code" href="class_qwt_plot_curve.html#add9a08ca3decc6a97c0a5179a23eb073">symbol</a>.<a class="code" href="class_qwt_symbol.html#a623997cd980c29e7d9cac3718e21cefc">drawSymbols</a>( painter, points );</div>
<div class="line"><a name="l01003"></a><span class="lineno"> 1003</span>&#160;    }</div>
<div class="line"><a name="l01004"></a><span class="lineno"> 1004</span>&#160;}</div>
<div class="line"><a name="l01005"></a><span class="lineno"> 1005</span>&#160; </div>
<div class="line"><a name="l01022"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#adbb5da6798a60138315b18194cf1ca1e"> 1022</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_curve.html#adbb5da6798a60138315b18194cf1ca1e">QwtPlotCurve::setBaseline</a>( <span class="keywordtype">double</span> value )</div>
<div class="line"><a name="l01023"></a><span class="lineno"> 1023</span>&#160;{</div>
<div class="line"><a name="l01024"></a><span class="lineno"> 1024</span>&#160;    <span class="keywordflow">if</span> ( m_data-&gt;baseline != value )</div>
<div class="line"><a name="l01025"></a><span class="lineno"> 1025</span>&#160;    {</div>
<div class="line"><a name="l01026"></a><span class="lineno"> 1026</span>&#160;        m_data-&gt;baseline = value;</div>
<div class="line"><a name="l01027"></a><span class="lineno"> 1027</span>&#160;        <a class="code" href="class_qwt_plot_item.html#ad956fdbce5b0721abccce6d09fe4d5ce">itemChanged</a>();</div>
<div class="line"><a name="l01028"></a><span class="lineno"> 1028</span>&#160;    }</div>
<div class="line"><a name="l01029"></a><span class="lineno"> 1029</span>&#160;}</div>
<div class="line"><a name="l01030"></a><span class="lineno"> 1030</span>&#160; </div>
<div class="line"><a name="l01035"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#af1b8d1a415addf18ee17bfeea7ffdc79"> 1035</a></span>&#160;<span class="keywordtype">double</span> <a class="code" href="class_qwt_plot_curve.html#af1b8d1a415addf18ee17bfeea7ffdc79">QwtPlotCurve::baseline</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l01036"></a><span class="lineno"> 1036</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l01037"></a><span class="lineno"> 1037</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;baseline;</div>
<div class="line"><a name="l01038"></a><span class="lineno"> 1038</span>&#160;}</div>
<div class="line"><a name="l01039"></a><span class="lineno"> 1039</span>&#160; </div>
<div class="line"><a name="l01051"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#a41f33574e40caee2b471615d4ac751d5"> 1051</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="class_qwt_plot_curve.html#a41f33574e40caee2b471615d4ac751d5">QwtPlotCurve::closestPoint</a>( <span class="keyword">const</span> QPointF&amp; pos, <span class="keywordtype">double</span>* dist )<span class="keyword"> const</span></div>
<div class="line"><a name="l01052"></a><span class="lineno"> 1052</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l01053"></a><span class="lineno"> 1053</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">size_t</span> numSamples = <a class="code" href="class_qwt_series_store.html#a6391ad8acc1b3946006451f54a6558de">dataSize</a>();</div>
<div class="line"><a name="l01054"></a><span class="lineno"> 1054</span>&#160; </div>
<div class="line"><a name="l01055"></a><span class="lineno"> 1055</span>&#160;    <span class="keywordflow">if</span> ( <a class="code" href="class_qwt_plot_item.html#a68dc5c562bdec6ee764ddedae6acd3bf">plot</a>() == NULL || numSamples &lt;= 0 )</div>
<div class="line"><a name="l01056"></a><span class="lineno"> 1056</span>&#160;        <span class="keywordflow">return</span> -1;</div>
<div class="line"><a name="l01057"></a><span class="lineno"> 1057</span>&#160; </div>
<div class="line"><a name="l01058"></a><span class="lineno"> 1058</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_series_data.html">QwtSeriesData&lt; QPointF &gt;</a>* series = <a class="code" href="class_qwt_series_store.html#aae258d330c8d1bd2057b1f0bc13700f9">data</a>();</div>
<div class="line"><a name="l01059"></a><span class="lineno"> 1059</span>&#160; </div>
<div class="line"><a name="l01060"></a><span class="lineno"> 1060</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a> xMap = <a class="code" href="class_qwt_plot_item.html#a68dc5c562bdec6ee764ddedae6acd3bf">plot</a>()-&gt;<a class="code" href="class_qwt_plot.html#ac68a48e1fbd79355c82bbbf3a1e19e93">canvasMap</a>( <a class="code" href="class_qwt_plot_item.html#a882b5eb610c7b384b64f0f6077f23c62">xAxis</a>() );</div>
<div class="line"><a name="l01061"></a><span class="lineno"> 1061</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a> yMap = <a class="code" href="class_qwt_plot_item.html#a68dc5c562bdec6ee764ddedae6acd3bf">plot</a>()-&gt;<a class="code" href="class_qwt_plot.html#ac68a48e1fbd79355c82bbbf3a1e19e93">canvasMap</a>( <a class="code" href="class_qwt_plot_item.html#a04da91589ece54e665ca94e487f7a208">yAxis</a>() );</div>
<div class="line"><a name="l01062"></a><span class="lineno"> 1062</span>&#160; </div>
<div class="line"><a name="l01063"></a><span class="lineno"> 1063</span>&#160;    <span class="keywordtype">int</span> index = -1;</div>
<div class="line"><a name="l01064"></a><span class="lineno"> 1064</span>&#160;    <span class="keywordtype">double</span> dmin = 1.0e10;</div>
<div class="line"><a name="l01065"></a><span class="lineno"> 1065</span>&#160; </div>
<div class="line"><a name="l01066"></a><span class="lineno"> 1066</span>&#160;    <span class="keywordflow">for</span> ( uint i = 0; i &lt; numSamples; i++ )</div>
<div class="line"><a name="l01067"></a><span class="lineno"> 1067</span>&#160;    {</div>
<div class="line"><a name="l01068"></a><span class="lineno"> 1068</span>&#160;        <span class="keyword">const</span> QPointF <a class="code" href="class_qwt_series_store.html#a09f98212173ac6de604d8b63ebf6bb0a">sample</a> = series-&gt;<a class="code" href="class_qwt_series_data.html#ae8650d16c07c58f01897ab48658a3266">sample</a>( i );</div>
<div class="line"><a name="l01069"></a><span class="lineno"> 1069</span>&#160; </div>
<div class="line"><a name="l01070"></a><span class="lineno"> 1070</span>&#160;        <span class="keyword">const</span> <span class="keywordtype">double</span> cx = xMap.<a class="code" href="class_qwt_scale_map.html#a504f1627e0e02ddac03d2ce46507b865">transform</a>( <a class="code" href="class_qwt_series_store.html#a09f98212173ac6de604d8b63ebf6bb0a">sample</a>.x() ) - pos.x();</div>
<div class="line"><a name="l01071"></a><span class="lineno"> 1071</span>&#160;        <span class="keyword">const</span> <span class="keywordtype">double</span> cy = yMap.<a class="code" href="class_qwt_scale_map.html#a504f1627e0e02ddac03d2ce46507b865">transform</a>( <a class="code" href="class_qwt_series_store.html#a09f98212173ac6de604d8b63ebf6bb0a">sample</a>.y() ) - pos.y();</div>
<div class="line"><a name="l01072"></a><span class="lineno"> 1072</span>&#160; </div>
<div class="line"><a name="l01073"></a><span class="lineno"> 1073</span>&#160;        <span class="keyword">const</span> <span class="keywordtype">double</span> f = qwtSqr( cx ) + qwtSqr( cy );</div>
<div class="line"><a name="l01074"></a><span class="lineno"> 1074</span>&#160;        <span class="keywordflow">if</span> ( f &lt; dmin )</div>
<div class="line"><a name="l01075"></a><span class="lineno"> 1075</span>&#160;        {</div>
<div class="line"><a name="l01076"></a><span class="lineno"> 1076</span>&#160;            index = i;</div>
<div class="line"><a name="l01077"></a><span class="lineno"> 1077</span>&#160;            dmin = f;</div>
<div class="line"><a name="l01078"></a><span class="lineno"> 1078</span>&#160;        }</div>
<div class="line"><a name="l01079"></a><span class="lineno"> 1079</span>&#160;    }</div>
<div class="line"><a name="l01080"></a><span class="lineno"> 1080</span>&#160;    <span class="keywordflow">if</span> ( dist )</div>
<div class="line"><a name="l01081"></a><span class="lineno"> 1081</span>&#160;        *dist = std::sqrt( dmin );</div>
<div class="line"><a name="l01082"></a><span class="lineno"> 1082</span>&#160; </div>
<div class="line"><a name="l01083"></a><span class="lineno"> 1083</span>&#160;    <span class="keywordflow">return</span> index;</div>
<div class="line"><a name="l01084"></a><span class="lineno"> 1084</span>&#160;}</div>
<div class="line"><a name="l01085"></a><span class="lineno"> 1085</span>&#160; </div>
<div class="line"><a name="l01095"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#a9893a7b0e81a03a2f43e6bed5364b168"> 1095</a></span>&#160;<a class="code" href="class_qwt_graphic.html">QwtGraphic</a> <a class="code" href="class_qwt_plot_curve.html#a9893a7b0e81a03a2f43e6bed5364b168">QwtPlotCurve::legendIcon</a>( <span class="keywordtype">int</span> index, <span class="keyword">const</span> QSizeF&amp; size )<span class="keyword"> const</span></div>
<div class="line"><a name="l01096"></a><span class="lineno"> 1096</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l01097"></a><span class="lineno"> 1097</span>&#160;    Q_UNUSED( index );</div>
<div class="line"><a name="l01098"></a><span class="lineno"> 1098</span>&#160; </div>
<div class="line"><a name="l01099"></a><span class="lineno"> 1099</span>&#160;    <span class="keywordflow">if</span> ( size.isEmpty() )</div>
<div class="line"><a name="l01100"></a><span class="lineno"> 1100</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="class_qwt_graphic.html">QwtGraphic</a>();</div>
<div class="line"><a name="l01101"></a><span class="lineno"> 1101</span>&#160; </div>
<div class="line"><a name="l01102"></a><span class="lineno"> 1102</span>&#160;    <a class="code" href="class_qwt_graphic.html">QwtGraphic</a> graphic;</div>
<div class="line"><a name="l01103"></a><span class="lineno"> 1103</span>&#160;    graphic.<a class="code" href="class_qwt_graphic.html#acba8d73bc62bd15c15491d4a6e739869">setDefaultSize</a>( size );</div>
<div class="line"><a name="l01104"></a><span class="lineno"> 1104</span>&#160;    graphic.<a class="code" href="class_qwt_graphic.html#a494b5de0452120653188828f6a1a6f55">setRenderHint</a>( <a class="code" href="class_qwt_graphic.html#a3f87dcc606b131ed6c3cfeead1d6de03ab70056f66aa75fb24c834cb3da7b0133">QwtGraphic::RenderPensUnscaled</a>, <span class="keyword">true</span> );</div>
<div class="line"><a name="l01105"></a><span class="lineno"> 1105</span>&#160; </div>
<div class="line"><a name="l01106"></a><span class="lineno"> 1106</span>&#160;    QPainter painter( &amp;graphic );</div>
<div class="line"><a name="l01107"></a><span class="lineno"> 1107</span>&#160;    painter.setRenderHint( QPainter::Antialiasing,</div>
<div class="line"><a name="l01108"></a><span class="lineno"> 1108</span>&#160;        <a class="code" href="class_qwt_plot_item.html#aca66d2161c8a6caf5ebef82f59770d15">testRenderHint</a>( <a class="code" href="class_qwt_plot_item.html#abe0e8a39aceef9a600b73e02550a9704ae0c9811915d496eaacbd749724647f13">QwtPlotItem::RenderAntialiased</a> ) );</div>
<div class="line"><a name="l01109"></a><span class="lineno"> 1109</span>&#160; </div>
<div class="line"><a name="l01110"></a><span class="lineno"> 1110</span>&#160;    <span class="keywordflow">if</span> ( m_data-&gt;legendAttributes == 0 ||</div>
<div class="line"><a name="l01111"></a><span class="lineno"> 1111</span>&#160;        m_data-&gt;legendAttributes &amp; <a class="code" href="class_qwt_plot_curve.html#a6c1ac1ca99c06598c4044dd2ceeb9fd7a20cd7f91d61c44b05c49bffd930646be">QwtPlotCurve::LegendShowBrush</a> )</div>
<div class="line"><a name="l01112"></a><span class="lineno"> 1112</span>&#160;    {</div>
<div class="line"><a name="l01113"></a><span class="lineno"> 1113</span>&#160;        QBrush <a class="code" href="class_qwt_plot_curve.html#ad2481212584bb3c4023184c6acedfba1">brush</a> = m_data-&gt;brush;</div>
<div class="line"><a name="l01114"></a><span class="lineno"> 1114</span>&#160; </div>
<div class="line"><a name="l01115"></a><span class="lineno"> 1115</span>&#160;        <span class="keywordflow">if</span> ( <a class="code" href="class_qwt_plot_curve.html#ad2481212584bb3c4023184c6acedfba1">brush</a>.style() == Qt::NoBrush &amp;&amp;</div>
<div class="line"><a name="l01116"></a><span class="lineno"> 1116</span>&#160;            m_data-&gt;legendAttributes == 0 )</div>
<div class="line"><a name="l01117"></a><span class="lineno"> 1117</span>&#160;        {</div>
<div class="line"><a name="l01118"></a><span class="lineno"> 1118</span>&#160;            <span class="keywordflow">if</span> ( <a class="code" href="class_qwt_plot_curve.html#a3a40b9e7054d35e65ecdd6956d138bc7">style</a>() != <a class="code" href="class_qwt_plot_curve.html#a15998aa80a11ba6ba80eebabaf773f70a0b6dcf16619a08af39437d6b6a234c9c">QwtPlotCurve::NoCurve</a> )</div>
<div class="line"><a name="l01119"></a><span class="lineno"> 1119</span>&#160;            {</div>
<div class="line"><a name="l01120"></a><span class="lineno"> 1120</span>&#160;                <a class="code" href="class_qwt_plot_curve.html#ad2481212584bb3c4023184c6acedfba1">brush</a> = QBrush( <a class="code" href="class_qwt_plot_curve.html#ab7506e322a6f0ce39d5d94b2b92b2155">pen</a>().color() );</div>
<div class="line"><a name="l01121"></a><span class="lineno"> 1121</span>&#160;            }</div>
<div class="line"><a name="l01122"></a><span class="lineno"> 1122</span>&#160;            <span class="keywordflow">else</span> <span class="keywordflow">if</span> ( m_data-&gt;symbol &amp;&amp;</div>
<div class="line"><a name="l01123"></a><span class="lineno"> 1123</span>&#160;                ( m_data-&gt;symbol-&gt;style() != <a class="code" href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fac3089b3993834683204a7bda52e763d3">QwtSymbol::NoSymbol</a> ) )</div>
<div class="line"><a name="l01124"></a><span class="lineno"> 1124</span>&#160;            {</div>
<div class="line"><a name="l01125"></a><span class="lineno"> 1125</span>&#160;                <a class="code" href="class_qwt_plot_curve.html#ad2481212584bb3c4023184c6acedfba1">brush</a> = QBrush( m_data-&gt;symbol-&gt;pen().color() );</div>
<div class="line"><a name="l01126"></a><span class="lineno"> 1126</span>&#160;            }</div>
<div class="line"><a name="l01127"></a><span class="lineno"> 1127</span>&#160;        }</div>
<div class="line"><a name="l01128"></a><span class="lineno"> 1128</span>&#160; </div>
<div class="line"><a name="l01129"></a><span class="lineno"> 1129</span>&#160;        <span class="keywordflow">if</span> ( <a class="code" href="class_qwt_plot_curve.html#ad2481212584bb3c4023184c6acedfba1">brush</a>.style() != Qt::NoBrush )</div>
<div class="line"><a name="l01130"></a><span class="lineno"> 1130</span>&#160;        {</div>
<div class="line"><a name="l01131"></a><span class="lineno"> 1131</span>&#160;            QRectF r( 0, 0, size.width(), size.height() );</div>
<div class="line"><a name="l01132"></a><span class="lineno"> 1132</span>&#160;            painter.fillRect( r, <a class="code" href="class_qwt_plot_curve.html#ad2481212584bb3c4023184c6acedfba1">brush</a> );</div>
<div class="line"><a name="l01133"></a><span class="lineno"> 1133</span>&#160;        }</div>
<div class="line"><a name="l01134"></a><span class="lineno"> 1134</span>&#160;    }</div>
<div class="line"><a name="l01135"></a><span class="lineno"> 1135</span>&#160; </div>
<div class="line"><a name="l01136"></a><span class="lineno"> 1136</span>&#160;    <span class="keywordflow">if</span> ( m_data-&gt;legendAttributes &amp; <a class="code" href="class_qwt_plot_curve.html#a6c1ac1ca99c06598c4044dd2ceeb9fd7a7eb8387acab6a10a95219634c97c266f">QwtPlotCurve::LegendShowLine</a> )</div>
<div class="line"><a name="l01137"></a><span class="lineno"> 1137</span>&#160;    {</div>
<div class="line"><a name="l01138"></a><span class="lineno"> 1138</span>&#160;        <span class="keywordflow">if</span> ( <a class="code" href="class_qwt_plot_curve.html#ab7506e322a6f0ce39d5d94b2b92b2155">pen</a>() != Qt::NoPen )</div>
<div class="line"><a name="l01139"></a><span class="lineno"> 1139</span>&#160;        {</div>
<div class="line"><a name="l01140"></a><span class="lineno"> 1140</span>&#160;            QPen pn = <a class="code" href="class_qwt_plot_curve.html#ab7506e322a6f0ce39d5d94b2b92b2155">pen</a>();</div>
<div class="line"><a name="l01141"></a><span class="lineno"> 1141</span>&#160;            pn.setCapStyle( Qt::FlatCap );</div>
<div class="line"><a name="l01142"></a><span class="lineno"> 1142</span>&#160; </div>
<div class="line"><a name="l01143"></a><span class="lineno"> 1143</span>&#160;            painter.setPen( pn );</div>
<div class="line"><a name="l01144"></a><span class="lineno"> 1144</span>&#160; </div>
<div class="line"><a name="l01145"></a><span class="lineno"> 1145</span>&#160;            <span class="keyword">const</span> <span class="keywordtype">double</span> y = 0.5 * size.height();</div>
<div class="line"><a name="l01146"></a><span class="lineno"> 1146</span>&#160;            <a class="code" href="class_qwt_painter.html#af7da8f2bd3bda731e76b564ba44ea6e7">QwtPainter::drawLine</a>( &amp;painter, 0.0, y, size.width(), y );</div>
<div class="line"><a name="l01147"></a><span class="lineno"> 1147</span>&#160;        }</div>
<div class="line"><a name="l01148"></a><span class="lineno"> 1148</span>&#160;    }</div>
<div class="line"><a name="l01149"></a><span class="lineno"> 1149</span>&#160; </div>
<div class="line"><a name="l01150"></a><span class="lineno"> 1150</span>&#160;    <span class="keywordflow">if</span> ( m_data-&gt;legendAttributes &amp; <a class="code" href="class_qwt_plot_curve.html#a6c1ac1ca99c06598c4044dd2ceeb9fd7a5902a8ff0c4c7f1080dd4e2bd5eb29be">QwtPlotCurve::LegendShowSymbol</a> )</div>
<div class="line"><a name="l01151"></a><span class="lineno"> 1151</span>&#160;    {</div>
<div class="line"><a name="l01152"></a><span class="lineno"> 1152</span>&#160;        <span class="keywordflow">if</span> ( m_data-&gt;symbol )</div>
<div class="line"><a name="l01153"></a><span class="lineno"> 1153</span>&#160;        {</div>
<div class="line"><a name="l01154"></a><span class="lineno"> 1154</span>&#160;            QRectF r( 0, 0, size.width(), size.height() );</div>
<div class="line"><a name="l01155"></a><span class="lineno"> 1155</span>&#160;            m_data-&gt;symbol-&gt;drawSymbol( &amp;painter, r );</div>
<div class="line"><a name="l01156"></a><span class="lineno"> 1156</span>&#160;        }</div>
<div class="line"><a name="l01157"></a><span class="lineno"> 1157</span>&#160;    }</div>
<div class="line"><a name="l01158"></a><span class="lineno"> 1158</span>&#160; </div>
<div class="line"><a name="l01159"></a><span class="lineno"> 1159</span>&#160;    <span class="keywordflow">return</span> graphic;</div>
<div class="line"><a name="l01160"></a><span class="lineno"> 1160</span>&#160;}</div>
<div class="line"><a name="l01161"></a><span class="lineno"> 1161</span>&#160; </div>
<div class="line"><a name="l01172"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#afa11e2336827438b8f05dfae2d1668e6"> 1172</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_curve.html#aa51cd3fa00f2a046ca5a9889c5db2413">QwtPlotCurve::setSamples</a>( <a class="code" href="class_qwt_series_data.html">QwtSeriesData&lt; QPointF &gt;</a>* data )</div>
<div class="line"><a name="l01173"></a><span class="lineno"> 1173</span>&#160;{</div>
<div class="line"><a name="l01174"></a><span class="lineno"> 1174</span>&#160;    <a class="code" href="class_qwt_series_store.html#add3ce83fe90e976b75a0ebaa79caee4c">setData</a>( <a class="code" href="class_qwt_series_store.html#aae258d330c8d1bd2057b1f0bc13700f9">data</a> );</div>
<div class="line"><a name="l01175"></a><span class="lineno"> 1175</span>&#160;}</div>
<div class="line"><a name="l01176"></a><span class="lineno"> 1176</span>&#160; </div>
<div class="line"><a name="l01184"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#a67b24f3663484ff5e973a288c6071b2a"> 1184</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_curve.html#aa51cd3fa00f2a046ca5a9889c5db2413">QwtPlotCurve::setSamples</a>( <span class="keyword">const</span> <a class="code" href="class_q_vector.html">QVector&lt; QPointF &gt;</a>&amp; samples )</div>
<div class="line"><a name="l01185"></a><span class="lineno"> 1185</span>&#160;{</div>
<div class="line"><a name="l01186"></a><span class="lineno"> 1186</span>&#160;    <a class="code" href="class_qwt_series_store.html#add3ce83fe90e976b75a0ebaa79caee4c">setData</a>( <span class="keyword">new</span> <a class="code" href="class_qwt_point_series_data.html">QwtPointSeriesData</a>( samples ) );</div>
<div class="line"><a name="l01187"></a><span class="lineno"> 1187</span>&#160;}</div>
<div class="line"><a name="l01188"></a><span class="lineno"> 1188</span>&#160; </div>
<div class="line"><a name="l01203"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#afd13c94e23520dacbc37b4d0fd036a8b"> 1203</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_curve.html#afd13c94e23520dacbc37b4d0fd036a8b">QwtPlotCurve::setRawSamples</a>(</div>
<div class="line"><a name="l01204"></a><span class="lineno"> 1204</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">double</span>* xData, <span class="keyword">const</span> <span class="keywordtype">double</span>* yData, <span class="keywordtype">int</span> size )</div>
<div class="line"><a name="l01205"></a><span class="lineno"> 1205</span>&#160;{</div>
<div class="line"><a name="l01206"></a><span class="lineno"> 1206</span>&#160;    <a class="code" href="class_qwt_series_store.html#add3ce83fe90e976b75a0ebaa79caee4c">setData</a>( <span class="keyword">new</span> <a class="code" href="class_qwt_c_pointer_data.html">QwtCPointerData&lt; double &gt;</a>( xData, yData, size ) );</div>
<div class="line"><a name="l01207"></a><span class="lineno"> 1207</span>&#160;}</div>
<div class="line"><a name="l01208"></a><span class="lineno"> 1208</span>&#160; </div>
<div class="line"><a name="l01223"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#adbe3f727d9d25371d768d695784b00e4"> 1223</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_curve.html#afd13c94e23520dacbc37b4d0fd036a8b">QwtPlotCurve::setRawSamples</a>(</div>
<div class="line"><a name="l01224"></a><span class="lineno"> 1224</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">float</span>* xData, <span class="keyword">const</span> <span class="keywordtype">float</span>* yData, <span class="keywordtype">int</span> size )</div>
<div class="line"><a name="l01225"></a><span class="lineno"> 1225</span>&#160;{</div>
<div class="line"><a name="l01226"></a><span class="lineno"> 1226</span>&#160;    <a class="code" href="class_qwt_series_store.html#add3ce83fe90e976b75a0ebaa79caee4c">setData</a>( <span class="keyword">new</span> <a class="code" href="class_qwt_c_pointer_data.html">QwtCPointerData&lt; float &gt;</a>( xData, yData, size ) );</div>
<div class="line"><a name="l01227"></a><span class="lineno"> 1227</span>&#160;}</div>
<div class="line"><a name="l01228"></a><span class="lineno"> 1228</span>&#160; </div>
<div class="line"><a name="l01245"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#a9ba26e6d38cc82ba7ecf66768e36d3bf"> 1245</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_curve.html#afd13c94e23520dacbc37b4d0fd036a8b">QwtPlotCurve::setRawSamples</a>( <span class="keyword">const</span> <span class="keywordtype">double</span>* yData, <span class="keywordtype">int</span> size )</div>
<div class="line"><a name="l01246"></a><span class="lineno"> 1246</span>&#160;{</div>
<div class="line"><a name="l01247"></a><span class="lineno"> 1247</span>&#160;    <a class="code" href="class_qwt_series_store.html#add3ce83fe90e976b75a0ebaa79caee4c">setData</a>( <span class="keyword">new</span> <a class="code" href="class_qwt_c_pointer_value_data.html">QwtCPointerValueData&lt; double &gt;</a>( yData, size ) );</div>
<div class="line"><a name="l01248"></a><span class="lineno"> 1248</span>&#160;}</div>
<div class="line"><a name="l01249"></a><span class="lineno"> 1249</span>&#160; </div>
<div class="line"><a name="l01266"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#aaf2d63abca3d1383b4a647bca8d806d1"> 1266</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_curve.html#afd13c94e23520dacbc37b4d0fd036a8b">QwtPlotCurve::setRawSamples</a>( <span class="keyword">const</span> <span class="keywordtype">float</span>* yData, <span class="keywordtype">int</span> size )</div>
<div class="line"><a name="l01267"></a><span class="lineno"> 1267</span>&#160;{</div>
<div class="line"><a name="l01268"></a><span class="lineno"> 1268</span>&#160;    <a class="code" href="class_qwt_series_store.html#add3ce83fe90e976b75a0ebaa79caee4c">setData</a>( <span class="keyword">new</span> <a class="code" href="class_qwt_c_pointer_value_data.html">QwtCPointerValueData&lt; float &gt;</a>( yData, size ) );</div>
<div class="line"><a name="l01269"></a><span class="lineno"> 1269</span>&#160;}</div>
<div class="line"><a name="l01270"></a><span class="lineno"> 1270</span>&#160; </div>
<div class="line"><a name="l01282"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#aa51cd3fa00f2a046ca5a9889c5db2413"> 1282</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_curve.html#aa51cd3fa00f2a046ca5a9889c5db2413">QwtPlotCurve::setSamples</a>(</div>
<div class="line"><a name="l01283"></a><span class="lineno"> 1283</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">double</span>* xData, <span class="keyword">const</span> <span class="keywordtype">double</span>* yData, <span class="keywordtype">int</span> size )</div>
<div class="line"><a name="l01284"></a><span class="lineno"> 1284</span>&#160;{</div>
<div class="line"><a name="l01285"></a><span class="lineno"> 1285</span>&#160;    <a class="code" href="class_qwt_series_store.html#add3ce83fe90e976b75a0ebaa79caee4c">setData</a>( <span class="keyword">new</span> <a class="code" href="class_qwt_point_array_data.html">QwtPointArrayData&lt; double &gt;</a>( xData, yData, size ) );</div>
<div class="line"><a name="l01286"></a><span class="lineno"> 1286</span>&#160;}</div>
<div class="line"><a name="l01287"></a><span class="lineno"> 1287</span>&#160; </div>
<div class="line"><a name="l01299"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#a8b148a9b63af53885558fc28526bcaae"> 1299</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_curve.html#aa51cd3fa00f2a046ca5a9889c5db2413">QwtPlotCurve::setSamples</a>(</div>
<div class="line"><a name="l01300"></a><span class="lineno"> 1300</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">float</span>* xData, <span class="keyword">const</span> <span class="keywordtype">float</span>* yData, <span class="keywordtype">int</span> size )</div>
<div class="line"><a name="l01301"></a><span class="lineno"> 1301</span>&#160;{</div>
<div class="line"><a name="l01302"></a><span class="lineno"> 1302</span>&#160;    <a class="code" href="class_qwt_series_store.html#add3ce83fe90e976b75a0ebaa79caee4c">setData</a>( <span class="keyword">new</span> <a class="code" href="class_qwt_point_array_data.html">QwtPointArrayData&lt; float &gt;</a>( xData, yData, size ) );</div>
<div class="line"><a name="l01303"></a><span class="lineno"> 1303</span>&#160;}</div>
<div class="line"><a name="l01304"></a><span class="lineno"> 1304</span>&#160; </div>
<div class="line"><a name="l01313"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#a1e6e9a417479e372197b746538fae47c"> 1313</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_curve.html#aa51cd3fa00f2a046ca5a9889c5db2413">QwtPlotCurve::setSamples</a>( <span class="keyword">const</span> <a class="code" href="class_q_vector.html">QVector&lt; double &gt;</a>&amp; xData,</div>
<div class="line"><a name="l01314"></a><span class="lineno"> 1314</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_q_vector.html">QVector&lt; double &gt;</a>&amp; yData )</div>
<div class="line"><a name="l01315"></a><span class="lineno"> 1315</span>&#160;{</div>
<div class="line"><a name="l01316"></a><span class="lineno"> 1316</span>&#160;    <a class="code" href="class_qwt_series_store.html#add3ce83fe90e976b75a0ebaa79caee4c">setData</a>( <span class="keyword">new</span> <a class="code" href="class_qwt_point_array_data.html">QwtPointArrayData&lt; double &gt;</a>( xData, yData ) );</div>
<div class="line"><a name="l01317"></a><span class="lineno"> 1317</span>&#160;}</div>
<div class="line"><a name="l01318"></a><span class="lineno"> 1318</span>&#160; </div>
<div class="line"><a name="l01327"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#af0893eca2cf25d1a8c52e2df66f8ff81"> 1327</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_curve.html#aa51cd3fa00f2a046ca5a9889c5db2413">QwtPlotCurve::setSamples</a>( <span class="keyword">const</span> <a class="code" href="class_q_vector.html">QVector&lt; float &gt;</a>&amp; xData,</div>
<div class="line"><a name="l01328"></a><span class="lineno"> 1328</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_q_vector.html">QVector&lt; float &gt;</a>&amp; yData )</div>
<div class="line"><a name="l01329"></a><span class="lineno"> 1329</span>&#160;{</div>
<div class="line"><a name="l01330"></a><span class="lineno"> 1330</span>&#160;    <a class="code" href="class_qwt_series_store.html#add3ce83fe90e976b75a0ebaa79caee4c">setData</a>( <span class="keyword">new</span> <a class="code" href="class_qwt_point_array_data.html">QwtPointArrayData&lt; float &gt;</a>( xData, yData ) );</div>
<div class="line"><a name="l01331"></a><span class="lineno"> 1331</span>&#160;}</div>
<div class="line"><a name="l01332"></a><span class="lineno"> 1332</span>&#160; </div>
<div class="line"><a name="l01344"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#aae09f7fa14708234fb902def5227073f"> 1344</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_curve.html#aa51cd3fa00f2a046ca5a9889c5db2413">QwtPlotCurve::setSamples</a>( <span class="keyword">const</span> <span class="keywordtype">double</span>* yData, <span class="keywordtype">int</span> size )</div>
<div class="line"><a name="l01345"></a><span class="lineno"> 1345</span>&#160;{</div>
<div class="line"><a name="l01346"></a><span class="lineno"> 1346</span>&#160;    <a class="code" href="class_qwt_series_store.html#add3ce83fe90e976b75a0ebaa79caee4c">setData</a>( <span class="keyword">new</span> <a class="code" href="class_qwt_value_point_data.html">QwtValuePointData&lt; double &gt;</a>( yData, size ) );</div>
<div class="line"><a name="l01347"></a><span class="lineno"> 1347</span>&#160;}</div>
<div class="line"><a name="l01348"></a><span class="lineno"> 1348</span>&#160; </div>
<div class="line"><a name="l01360"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#a068c51f7a8c8b0b9cee3d2521b8b1a9b"> 1360</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_curve.html#aa51cd3fa00f2a046ca5a9889c5db2413">QwtPlotCurve::setSamples</a>( <span class="keyword">const</span> <span class="keywordtype">float</span>* yData, <span class="keywordtype">int</span> size )</div>
<div class="line"><a name="l01361"></a><span class="lineno"> 1361</span>&#160;{</div>
<div class="line"><a name="l01362"></a><span class="lineno"> 1362</span>&#160;    <a class="code" href="class_qwt_series_store.html#add3ce83fe90e976b75a0ebaa79caee4c">setData</a>( <span class="keyword">new</span> <a class="code" href="class_qwt_value_point_data.html">QwtValuePointData&lt; float &gt;</a>( yData, size ) );</div>
<div class="line"><a name="l01363"></a><span class="lineno"> 1363</span>&#160;}</div>
<div class="line"><a name="l01364"></a><span class="lineno"> 1364</span>&#160; </div>
<div class="line"><a name="l01375"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#addfea99426ebb30f2ba38d3243c39a1c"> 1375</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_curve.html#aa51cd3fa00f2a046ca5a9889c5db2413">QwtPlotCurve::setSamples</a>( <span class="keyword">const</span> <a class="code" href="class_q_vector.html">QVector&lt; double &gt;</a>&amp; yData )</div>
<div class="line"><a name="l01376"></a><span class="lineno"> 1376</span>&#160;{</div>
<div class="line"><a name="l01377"></a><span class="lineno"> 1377</span>&#160;    <a class="code" href="class_qwt_series_store.html#add3ce83fe90e976b75a0ebaa79caee4c">setData</a>( <span class="keyword">new</span> <a class="code" href="class_qwt_value_point_data.html">QwtValuePointData&lt; double &gt;</a>( yData ) );</div>
<div class="line"><a name="l01378"></a><span class="lineno"> 1378</span>&#160;}</div>
<div class="line"><a name="l01379"></a><span class="lineno"> 1379</span>&#160; </div>
<div class="line"><a name="l01390"></a><span class="lineno"><a class="line" href="class_qwt_plot_curve.html#ac1a31e2f5f8fc88c3ef306d9b53089d3"> 1390</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_plot_curve.html#aa51cd3fa00f2a046ca5a9889c5db2413">QwtPlotCurve::setSamples</a>( <span class="keyword">const</span> <a class="code" href="class_q_vector.html">QVector&lt; float &gt;</a>&amp; yData )</div>
<div class="line"><a name="l01391"></a><span class="lineno"> 1391</span>&#160;{</div>
<div class="line"><a name="l01392"></a><span class="lineno"> 1392</span>&#160;    <a class="code" href="class_qwt_series_store.html#add3ce83fe90e976b75a0ebaa79caee4c">setData</a>( <span class="keyword">new</span> <a class="code" href="class_qwt_value_point_data.html">QwtValuePointData&lt; float &gt;</a>( yData ) );</div>
<div class="line"><a name="l01393"></a><span class="lineno"> 1393</span>&#160;}</div>
<div class="ttc" id="aclass_q_vector_html"><div class="ttname"><a href="class_q_vector.html">QVector</a></div><div class="ttdef"><b>Definition:</b> <a href="qwt__clipper_8h_source.html#l00023">qwt_clipper.h:23</a></div></div>
<div class="ttc" id="aclass_qwt_c_pointer_data_html"><div class="ttname"><a href="class_qwt_c_pointer_data.html">QwtCPointerData</a></div><div class="ttdoc">Data class containing two pointers to memory blocks of T.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__point__data_8h_source.html#l00043">qwt_point_data.h:44</a></div></div>
<div class="ttc" id="aclass_qwt_c_pointer_value_data_html"><div class="ttname"><a href="class_qwt_c_pointer_value_data.html">QwtCPointerValueData</a></div><div class="ttdoc">Data class containing a pointer to memory of y coordinates.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__point__data_8h_source.html#l00089">qwt_point_data.h:90</a></div></div>
<div class="ttc" id="aclass_qwt_curve_fitter_html"><div class="ttname"><a href="class_qwt_curve_fitter.html">QwtCurveFitter</a></div><div class="ttdoc">Abstract base class for a curve fitter.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__curve__fitter_8h_source.html#l00021">qwt_curve_fitter.h:22</a></div></div>
<div class="ttc" id="aclass_qwt_curve_fitter_html_a4a9b88b0ab2842395a7662735c833301a86090d569665ef9f1d47f61ada986996"><div class="ttname"><a href="class_qwt_curve_fitter.html#a4a9b88b0ab2842395a7662735c833301a86090d569665ef9f1d47f61ada986996">QwtCurveFitter::Path</a></div><div class="ttdeci">@ Path</div><div class="ttdef"><b>Definition:</b> <a href="qwt__curve__fitter_8h_source.html#l00049">qwt_curve_fitter.h:48</a></div></div>
<div class="ttc" id="aclass_qwt_graphic_html"><div class="ttname"><a href="class_qwt_graphic.html">QwtGraphic</a></div><div class="ttdoc">A paint device for scalable graphics.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__graphic_8h_source.html#l00075">qwt_graphic.h:76</a></div></div>
<div class="ttc" id="aclass_qwt_graphic_html_a3f87dcc606b131ed6c3cfeead1d6de03ab70056f66aa75fb24c834cb3da7b0133"><div class="ttname"><a href="class_qwt_graphic.html#a3f87dcc606b131ed6c3cfeead1d6de03ab70056f66aa75fb24c834cb3da7b0133">QwtGraphic::RenderPensUnscaled</a></div><div class="ttdeci">@ RenderPensUnscaled</div><div class="ttdef"><b>Definition:</b> <a href="qwt__graphic_8h_source.html#l00097">qwt_graphic.h:96</a></div></div>
<div class="ttc" id="aclass_qwt_graphic_html_a494b5de0452120653188828f6a1a6f55"><div class="ttname"><a href="class_qwt_graphic.html#a494b5de0452120653188828f6a1a6f55">QwtGraphic::setRenderHint</a></div><div class="ttdeci">void setRenderHint(RenderHint, bool on=true)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__graphic_8cpp_source.html#l00443">qwt_graphic.cpp:443</a></div></div>
<div class="ttc" id="aclass_qwt_graphic_html_acba8d73bc62bd15c15491d4a6e739869"><div class="ttname"><a href="class_qwt_graphic.html#acba8d73bc62bd15c15491d4a6e739869">QwtGraphic::setDefaultSize</a></div><div class="ttdeci">void setDefaultSize(const QSizeF &amp;)</div><div class="ttdoc">Set a default size.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__graphic_8cpp_source.html#l00553">qwt_graphic.cpp:553</a></div></div>
<div class="ttc" id="aclass_qwt_painter_html_a0e1bddfd725ea95f628c491149c2deba"><div class="ttname"><a href="class_qwt_painter.html#a0e1bddfd725ea95f628c491149c2deba">QwtPainter::drawPoints</a></div><div class="ttdeci">static void drawPoints(QPainter *, const QPolygon &amp;)</div><div class="ttdoc">Wrapper for QPainter::drawPoints()</div><div class="ttdef"><b>Definition:</b> <a href="qwt__painter_8h_source.html#l00142">qwt_painter.h:142</a></div></div>
<div class="ttc" id="aclass_qwt_painter_html_a2fff1088059c230864ac1eff90d8e975"><div class="ttname"><a href="class_qwt_painter.html#a2fff1088059c230864ac1eff90d8e975">QwtPainter::drawPolygon</a></div><div class="ttdeci">static void drawPolygon(QPainter *, const QPolygonF &amp;)</div><div class="ttdoc">Wrapper for QPainter::drawPolygon()</div><div class="ttdef"><b>Definition:</b> <a href="qwt__painter_8cpp_source.html#l00561">qwt_painter.cpp:561</a></div></div>
<div class="ttc" id="aclass_qwt_painter_html_a60ab9909e9eac196c022b1ec6200d198"><div class="ttname"><a href="class_qwt_painter.html#a60ab9909e9eac196c022b1ec6200d198">QwtPainter::drawPolyline</a></div><div class="ttdeci">static void drawPolyline(QPainter *, const QPolygonF &amp;)</div><div class="ttdoc">Wrapper for QPainter::drawPolyline()</div><div class="ttdef"><b>Definition:</b> <a href="qwt__painter_8cpp_source.html#l00578">qwt_painter.cpp:578</a></div></div>
<div class="ttc" id="aclass_qwt_painter_html_a9861338f5900c731fa66423aa6f29b88"><div class="ttname"><a href="class_qwt_painter.html#a9861338f5900c731fa66423aa6f29b88">QwtPainter::effectivePenWidth</a></div><div class="ttdeci">static qreal effectivePenWidth(const QPen &amp;)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__painter_8h_source.html#l00201">qwt_painter.h:201</a></div></div>
<div class="ttc" id="aclass_qwt_painter_html_ab2e88f78d51387c661a9e10352ab945c"><div class="ttname"><a href="class_qwt_painter.html#ab2e88f78d51387c661a9e10352ab945c">QwtPainter::drawPoint</a></div><div class="ttdeci">static void drawPoint(QPainter *, const QPoint &amp;)</div><div class="ttdoc">Wrapper for QPainter::drawPoint()</div><div class="ttdef"><b>Definition:</b> <a href="qwt__painter_8cpp_source.html#l00691">qwt_painter.cpp:691</a></div></div>
<div class="ttc" id="aclass_qwt_painter_html_ae9af230df7bb8d40b802d4f3205a8631"><div class="ttname"><a href="class_qwt_painter.html#ae9af230df7bb8d40b802d4f3205a8631">QwtPainter::roundingAlignment</a></div><div class="ttdeci">static bool roundingAlignment()</div><div class="ttdef"><b>Definition:</b> <a href="qwt__painter_8h_source.html#l00183">qwt_painter.h:183</a></div></div>
<div class="ttc" id="aclass_qwt_painter_html_af7da8f2bd3bda731e76b564ba44ea6e7"><div class="ttname"><a href="class_qwt_painter.html#af7da8f2bd3bda731e76b564ba44ea6e7">QwtPainter::drawLine</a></div><div class="ttdeci">static void drawLine(QPainter *, qreal x1, qreal y1, qreal x2, qreal y2)</div><div class="ttdoc">Wrapper for QPainter::drawLine()</div><div class="ttdef"><b>Definition:</b> <a href="qwt__painter_8h_source.html#l00154">qwt_painter.h:154</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html"><div class="ttname"><a href="class_qwt_plot_curve.html">QwtPlotCurve</a></div><div class="ttdoc">A plot item, that represents a series of points.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8h_source.html#l00056">qwt_plot_curve.h:59</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a0b1b7816e822607eb16e6eb2fd7bfa5c"><div class="ttname"><a href="class_qwt_plot_curve.html#a0b1b7816e822607eb16e6eb2fd7bfa5c">QwtPlotCurve::setLegendAttribute</a></div><div class="ttdeci">void setLegendAttribute(LegendAttribute, bool on=true)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l00181">qwt_plot_curve.cpp:181</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a0c78af2f375172ce23ed40b3d79fcef2"><div class="ttname"><a href="class_qwt_plot_curve.html#a0c78af2f375172ce23ed40b3d79fcef2">QwtPlotCurve::drawSeries</a></div><div class="ttdeci">virtual void drawSeries(QPainter *, const QwtScaleMap &amp;xMap, const QwtScaleMap &amp;yMap, const QRectF &amp;canvasRect, int from, int to) const override</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l00381">qwt_plot_curve.cpp:381</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a0d21c4aa8093baf66666d34cb1c05a58"><div class="ttname"><a href="class_qwt_plot_curve.html#a0d21c4aa8093baf66666d34cb1c05a58">QwtPlotCurve::setLegendAttributes</a></div><div class="ttdeci">void setLegendAttributes(LegendAttributes)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l00210">qwt_plot_curve.cpp:210</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a15998aa80a11ba6ba80eebabaf773f70"><div class="ttname"><a href="class_qwt_plot_curve.html#a15998aa80a11ba6ba80eebabaf773f70">QwtPlotCurve::CurveStyle</a></div><div class="ttdeci">CurveStyle</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8h_source.html#l00065">qwt_plot_curve.h:66</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a15998aa80a11ba6ba80eebabaf773f70a0b6dcf16619a08af39437d6b6a234c9c"><div class="ttname"><a href="class_qwt_plot_curve.html#a15998aa80a11ba6ba80eebabaf773f70a0b6dcf16619a08af39437d6b6a234c9c">QwtPlotCurve::NoCurve</a></div><div class="ttdeci">@ NoCurve</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8h_source.html#l00070">qwt_plot_curve.h:70</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a15998aa80a11ba6ba80eebabaf773f70a18071408a0b9bfe58378c6d81e207b2c"><div class="ttname"><a href="class_qwt_plot_curve.html#a15998aa80a11ba6ba80eebabaf773f70a18071408a0b9bfe58378c6d81e207b2c">QwtPlotCurve::Steps</a></div><div class="ttdeci">@ Steps</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8h_source.html#l00090">qwt_plot_curve.h:90</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a15998aa80a11ba6ba80eebabaf773f70a770b0908599507e5677b6e9ff9913f38"><div class="ttname"><a href="class_qwt_plot_curve.html#a15998aa80a11ba6ba80eebabaf773f70a770b0908599507e5677b6e9ff9913f38">QwtPlotCurve::Sticks</a></div><div class="ttdeci">@ Sticks</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8h_source.html#l00083">qwt_plot_curve.h:83</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a15998aa80a11ba6ba80eebabaf773f70a8914d88bcd5f680e7091469fed67c9ba"><div class="ttname"><a href="class_qwt_plot_curve.html#a15998aa80a11ba6ba80eebabaf773f70a8914d88bcd5f680e7091469fed67c9ba">QwtPlotCurve::Lines</a></div><div class="ttdeci">@ Lines</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8h_source.html#l00077">qwt_plot_curve.h:77</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a15998aa80a11ba6ba80eebabaf773f70ac30a3c76d19bc69fc69bed68fc154838"><div class="ttname"><a href="class_qwt_plot_curve.html#a15998aa80a11ba6ba80eebabaf773f70ac30a3c76d19bc69fc69bed68fc154838">QwtPlotCurve::Dots</a></div><div class="ttdeci">@ Dots</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8h_source.html#l00098">qwt_plot_curve.h:98</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a1d0797dd72dc5958457eec4b0591c42a"><div class="ttname"><a href="class_qwt_plot_curve.html#a1d0797dd72dc5958457eec4b0591c42a">QwtPlotCurve::closePolyline</a></div><div class="ttdeci">void closePolyline(QPainter *, const QwtScaleMap &amp;, const QwtScaleMap &amp;, QPolygonF &amp;) const</div><div class="ttdoc">Complete a polygon to be a closed polygon including the area between the original polygon and the bas...</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l00929">qwt_plot_curve.cpp:929</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a1d2d1c90dd5db249640ca77b83e1c294"><div class="ttname"><a href="class_qwt_plot_curve.html#a1d2d1c90dd5db249640ca77b83e1c294">QwtPlotCurve::legendAttributes</a></div><div class="ttdeci">LegendAttributes legendAttributes() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l00225">qwt_plot_curve.cpp:225</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a2307196a17121dc72c2c88a0c5a46dc7"><div class="ttname"><a href="class_qwt_plot_curve.html#a2307196a17121dc72c2c88a0c5a46dc7">QwtPlotCurve::drawCurve</a></div><div class="ttdeci">virtual void drawCurve(QPainter *, int style, const QwtScaleMap &amp;xMap, const QwtScaleMap &amp;yMap, const QRectF &amp;canvasRect, int from, int to) const</div><div class="ttdoc">Draw the line part (without symbols) of a curve interval.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l00429">qwt_plot_curve.cpp:429</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a27ba776f9d76b60aaee7e3d30aa78c2c"><div class="ttname"><a href="class_qwt_plot_curve.html#a27ba776f9d76b60aaee7e3d30aa78c2c">QwtPlotCurve::LegendAttributes</a></div><div class="ttdeci">QFlags&lt; LegendAttribute &gt; LegendAttributes</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8h_source.html#l00168">qwt_plot_curve.h:168</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a2a600e735278d8547cd5e468c9fdf5cc"><div class="ttname"><a href="class_qwt_plot_curve.html#a2a600e735278d8547cd5e468c9fdf5cc">QwtPlotCurve::fillCurve</a></div><div class="ttdeci">virtual void fillCurve(QPainter *, const QwtScaleMap &amp;, const QwtScaleMap &amp;, const QRectF &amp;canvasRect, QPolygonF &amp;) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l00889">qwt_plot_curve.cpp:889</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a2de41014c2b87fd459d0c438a15dd33e"><div class="ttname"><a href="class_qwt_plot_curve.html#a2de41014c2b87fd459d0c438a15dd33e">QwtPlotCurve::setStyle</a></div><div class="ttdeci">void setStyle(CurveStyle style)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l00236">qwt_plot_curve.cpp:236</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a38064f7de6f026a49db782c365f872c3"><div class="ttname"><a href="class_qwt_plot_curve.html#a38064f7de6f026a49db782c365f872c3">QwtPlotCurve::CurveAttribute</a></div><div class="ttdeci">CurveAttribute</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8h_source.html#l00112">qwt_plot_curve.h:113</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a38064f7de6f026a49db782c365f872c3a583f7bc6ca4d5245fa82757f4bddea1b"><div class="ttname"><a href="class_qwt_plot_curve.html#a38064f7de6f026a49db782c365f872c3a583f7bc6ca4d5245fa82757f4bddea1b">QwtPlotCurve::Fitted</a></div><div class="ttdeci">@ Fitted</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8h_source.html#l00131">qwt_plot_curve.h:130</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a38064f7de6f026a49db782c365f872c3af7790b4716576fd0641ec393f476bc46"><div class="ttname"><a href="class_qwt_plot_curve.html#a38064f7de6f026a49db782c365f872c3af7790b4716576fd0641ec393f476bc46">QwtPlotCurve::Inverted</a></div><div class="ttdeci">@ Inverted</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8h_source.html#l00118">qwt_plot_curve.h:118</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a3a40b9e7054d35e65ecdd6956d138bc7"><div class="ttname"><a href="class_qwt_plot_curve.html#a3a40b9e7054d35e65ecdd6956d138bc7">QwtPlotCurve::style</a></div><div class="ttdeci">CurveStyle style() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l00251">qwt_plot_curve.cpp:251</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a413b1a18de12ece4dec5ae0738ecd03f"><div class="ttname"><a href="class_qwt_plot_curve.html#a413b1a18de12ece4dec5ae0738ecd03f">QwtPlotCurve::setSymbol</a></div><div class="ttdeci">void setSymbol(QwtSymbol *)</div><div class="ttdoc">Assign a symbol.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l00266">qwt_plot_curve.cpp:266</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a41f33574e40caee2b471615d4ac751d5"><div class="ttname"><a href="class_qwt_plot_curve.html#a41f33574e40caee2b471615d4ac751d5">QwtPlotCurve::closestPoint</a></div><div class="ttdeci">virtual int closestPoint(const QPointF &amp;pos, double *dist=NULL) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l01051">qwt_plot_curve.cpp:1051</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a48871008ee333f0887ff0d225645b332"><div class="ttname"><a href="class_qwt_plot_curve.html#a48871008ee333f0887ff0d225645b332">QwtPlotCurve::drawDots</a></div><div class="ttdeci">virtual void drawDots(QPainter *, const QwtScaleMap &amp;xMap, const QwtScaleMap &amp;yMap, const QRectF &amp;canvasRect, int from, int to) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l00640">qwt_plot_curve.cpp:640</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a57996621d9dcc44ceb942e38219bf8ff"><div class="ttname"><a href="class_qwt_plot_curve.html#a57996621d9dcc44ceb942e38219bf8ff">QwtPlotCurve::QwtPlotCurve</a></div><div class="ttdeci">QwtPlotCurve(const QString &amp;title=QString())</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l00120">qwt_plot_curve.cpp:120</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a5894e31d4fb8304021e3419ab8c1c999"><div class="ttname"><a href="class_qwt_plot_curve.html#a5894e31d4fb8304021e3419ab8c1c999">QwtPlotCurve::drawSticks</a></div><div class="ttdeci">virtual void drawSticks(QPainter *, const QwtScaleMap &amp;xMap, const QwtScaleMap &amp;yMap, const QRectF &amp;canvasRect, int from, int to) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l00585">qwt_plot_curve.cpp:585</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a5e0a456fafffac2dfda524b44759dd9a"><div class="ttname"><a href="class_qwt_plot_curve.html#a5e0a456fafffac2dfda524b44759dd9a">QwtPlotCurve::drawSymbols</a></div><div class="ttdeci">virtual void drawSymbols(QPainter *, const QwtSymbol &amp;, const QwtScaleMap &amp;xMap, const QwtScaleMap &amp;yMap, const QRectF &amp;canvasRect, int from, int to) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l00979">qwt_plot_curve.cpp:979</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a683e618515353c512e69f64ade513e06"><div class="ttname"><a href="class_qwt_plot_curve.html#a683e618515353c512e69f64ade513e06">QwtPlotCurve::testLegendAttribute</a></div><div class="ttdeci">bool testLegendAttribute(LegendAttribute) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l00199">qwt_plot_curve.cpp:199</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a6854cb99986d47d6e146e53c1cd164b1"><div class="ttname"><a href="class_qwt_plot_curve.html#a6854cb99986d47d6e146e53c1cd164b1">QwtPlotCurve::testCurveAttribute</a></div><div class="ttdeci">bool testCurveAttribute(CurveAttribute) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l00836">qwt_plot_curve.cpp:836</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a6ac9243e280f96cd149102a91271a473"><div class="ttname"><a href="class_qwt_plot_curve.html#a6ac9243e280f96cd149102a91271a473">QwtPlotCurve::setCurveAttribute</a></div><div class="ttdeci">void setCurveAttribute(CurveAttribute, bool on=true)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l00819">qwt_plot_curve.cpp:819</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a6c1ac1ca99c06598c4044dd2ceeb9fd7"><div class="ttname"><a href="class_qwt_plot_curve.html#a6c1ac1ca99c06598c4044dd2ceeb9fd7">QwtPlotCurve::LegendAttribute</a></div><div class="ttdeci">LegendAttribute</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8h_source.html#l00142">qwt_plot_curve.h:143</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a6c1ac1ca99c06598c4044dd2ceeb9fd7a20cd7f91d61c44b05c49bffd930646be"><div class="ttname"><a href="class_qwt_plot_curve.html#a6c1ac1ca99c06598c4044dd2ceeb9fd7a20cd7f91d61c44b05c49bffd930646be">QwtPlotCurve::LegendShowBrush</a></div><div class="ttdeci">@ LegendShowBrush</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8h_source.html#l00166">qwt_plot_curve.h:165</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a6c1ac1ca99c06598c4044dd2ceeb9fd7a5902a8ff0c4c7f1080dd4e2bd5eb29be"><div class="ttname"><a href="class_qwt_plot_curve.html#a6c1ac1ca99c06598c4044dd2ceeb9fd7a5902a8ff0c4c7f1080dd4e2bd5eb29be">QwtPlotCurve::LegendShowSymbol</a></div><div class="ttdeci">@ LegendShowSymbol</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8h_source.html#l00159">qwt_plot_curve.h:159</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a6c1ac1ca99c06598c4044dd2ceeb9fd7a7eb8387acab6a10a95219634c97c266f"><div class="ttname"><a href="class_qwt_plot_curve.html#a6c1ac1ca99c06598c4044dd2ceeb9fd7a7eb8387acab6a10a95219634c97c266f">QwtPlotCurve::LegendShowLine</a></div><div class="ttdeci">@ LegendShowLine</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8h_source.html#l00154">qwt_plot_curve.h:154</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a7afecd61327d56ddc76687d119e92b5d"><div class="ttname"><a href="class_qwt_plot_curve.html#a7afecd61327d56ddc76687d119e92b5d">QwtPlotCurve::init</a></div><div class="ttdeci">void init()</div><div class="ttdoc">Initialize internal members.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l00133">qwt_plot_curve.cpp:133</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a7f9c70366415b5cb068af80be5bf3748"><div class="ttname"><a href="class_qwt_plot_curve.html#a7f9c70366415b5cb068af80be5bf3748">QwtPlotCurve::setPaintAttribute</a></div><div class="ttdeci">void setPaintAttribute(PaintAttribute, bool on=true)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l00157">qwt_plot_curve.cpp:157</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a96db1b854c63bfbc452c943251a11b66"><div class="ttname"><a href="class_qwt_plot_curve.html#a96db1b854c63bfbc452c943251a11b66">QwtPlotCurve::PaintAttribute</a></div><div class="ttdeci">PaintAttribute</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8h_source.html#l00176">qwt_plot_curve.h:177</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a96db1b854c63bfbc452c943251a11b66a154c720d852e71b7909adf5e56a3500d"><div class="ttname"><a href="class_qwt_plot_curve.html#a96db1b854c63bfbc452c943251a11b66a154c720d852e71b7909adf5e56a3500d">QwtPlotCurve::MinimizeMemory</a></div><div class="ttdeci">@ MinimizeMemory</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8h_source.html#l00198">qwt_plot_curve.h:198</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a96db1b854c63bfbc452c943251a11b66a26f9aa8ae434aa94b4049b9908995abf"><div class="ttname"><a href="class_qwt_plot_curve.html#a96db1b854c63bfbc452c943251a11b66a26f9aa8ae434aa94b4049b9908995abf">QwtPlotCurve::ClipPolygons</a></div><div class="ttdeci">@ ClipPolygons</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8h_source.html#l00183">qwt_plot_curve.h:183</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a96db1b854c63bfbc452c943251a11b66a4aed183ef24167cb6df280abf166cb7b"><div class="ttname"><a href="class_qwt_plot_curve.html#a96db1b854c63bfbc452c943251a11b66a4aed183ef24167cb6df280abf166cb7b">QwtPlotCurve::FilterPointsAggressive</a></div><div class="ttdeci">@ FilterPointsAggressive</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8h_source.html#l00231">qwt_plot_curve.h:231</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a96db1b854c63bfbc452c943251a11b66a5e80434a35db4325ef8cdcb4dcb52282"><div class="ttname"><a href="class_qwt_plot_curve.html#a96db1b854c63bfbc452c943251a11b66a5e80434a35db4325ef8cdcb4dcb52282">QwtPlotCurve::ImageBuffer</a></div><div class="ttdeci">@ ImageBuffer</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8h_source.html#l00207">qwt_plot_curve.h:207</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a96db1b854c63bfbc452c943251a11b66af09c1c6ec8c8198124f0e41c391f8391"><div class="ttname"><a href="class_qwt_plot_curve.html#a96db1b854c63bfbc452c943251a11b66af09c1c6ec8c8198124f0e41c391f8391">QwtPlotCurve::FilterPoints</a></div><div class="ttdeci">@ FilterPoints</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8h_source.html#l00191">qwt_plot_curve.h:191</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a97c5d16689ddc8b76317522f8a3eb7e4"><div class="ttname"><a href="class_qwt_plot_curve.html#a97c5d16689ddc8b76317522f8a3eb7e4">QwtPlotCurve::testPaintAttribute</a></div><div class="ttdeci">bool testPaintAttribute(PaintAttribute) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l00169">qwt_plot_curve.cpp:169</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a9893a7b0e81a03a2f43e6bed5364b168"><div class="ttname"><a href="class_qwt_plot_curve.html#a9893a7b0e81a03a2f43e6bed5364b168">QwtPlotCurve::legendIcon</a></div><div class="ttdeci">virtual QwtGraphic legendIcon(int index, const QSizeF &amp;) const override</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l01095">qwt_plot_curve.cpp:1095</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_a9c1ee98502ca107c9fa0edfdd0205e58"><div class="ttname"><a href="class_qwt_plot_curve.html#a9c1ee98502ca107c9fa0edfdd0205e58">QwtPlotCurve::drawLines</a></div><div class="ttdeci">virtual void drawLines(QPainter *, const QwtScaleMap &amp;xMap, const QwtScaleMap &amp;yMap, const QRectF &amp;canvasRect, int from, int to) const</div><div class="ttdoc">Draw lines.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l00476">qwt_plot_curve.cpp:476</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_aa05ec6d3883821a8e62330fbeeb85dbd"><div class="ttname"><a href="class_qwt_plot_curve.html#aa05ec6d3883821a8e62330fbeeb85dbd">QwtPlotCurve::~QwtPlotCurve</a></div><div class="ttdeci">virtual ~QwtPlotCurve()</div><div class="ttdoc">Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l00127">qwt_plot_curve.cpp:127</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_aa51cd3fa00f2a046ca5a9889c5db2413"><div class="ttname"><a href="class_qwt_plot_curve.html#aa51cd3fa00f2a046ca5a9889c5db2413">QwtPlotCurve::setSamples</a></div><div class="ttdeci">void setSamples(const double *xData, const double *yData, int size)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l01282">qwt_plot_curve.cpp:1282</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_ab7506e322a6f0ce39d5d94b2b92b2155"><div class="ttname"><a href="class_qwt_plot_curve.html#ab7506e322a6f0ce39d5d94b2b92b2155">QwtPlotCurve::pen</a></div><div class="ttdeci">const QPen &amp; pen() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l00328">qwt_plot_curve.cpp:328</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_ac15588c78d175906a30de501b4dd7957"><div class="ttname"><a href="class_qwt_plot_curve.html#ac15588c78d175906a30de501b4dd7957">QwtPlotCurve::setCurveFitter</a></div><div class="ttdeci">void setCurveFitter(QwtCurveFitter *)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l00858">qwt_plot_curve.cpp:858</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_ad2481212584bb3c4023184c6acedfba1"><div class="ttname"><a href="class_qwt_plot_curve.html#ad2481212584bb3c4023184c6acedfba1">QwtPlotCurve::brush</a></div><div class="ttdeci">const QBrush &amp; brush() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l00363">qwt_plot_curve.cpp:363</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_adbb5da6798a60138315b18194cf1ca1e"><div class="ttname"><a href="class_qwt_plot_curve.html#adbb5da6798a60138315b18194cf1ca1e">QwtPlotCurve::setBaseline</a></div><div class="ttdeci">void setBaseline(double)</div><div class="ttdoc">Set the value of the baseline.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l01022">qwt_plot_curve.cpp:1022</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_adc52ea882ec1f994e2d2e23c7465b0c2"><div class="ttname"><a href="class_qwt_plot_curve.html#adc52ea882ec1f994e2d2e23c7465b0c2">QwtPlotCurve::setBrush</a></div><div class="ttdeci">void setBrush(const QBrush &amp;)</div><div class="ttdoc">Assign a brush.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l00348">qwt_plot_curve.cpp:348</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_add9a08ca3decc6a97c0a5179a23eb073"><div class="ttname"><a href="class_qwt_plot_curve.html#add9a08ca3decc6a97c0a5179a23eb073">QwtPlotCurve::symbol</a></div><div class="ttdeci">const QwtSymbol * symbol() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l00284">qwt_plot_curve.cpp:284</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_adff5a47fcd28ea934cbdc568fe8bb85a"><div class="ttname"><a href="class_qwt_plot_curve.html#adff5a47fcd28ea934cbdc568fe8bb85a">QwtPlotCurve::PaintAttributes</a></div><div class="ttdeci">QFlags&lt; PaintAttribute &gt; PaintAttributes</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8h_source.html#l00234">qwt_plot_curve.h:234</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_ae00bd073a2bcf7c3c810d70af1f86750"><div class="ttname"><a href="class_qwt_plot_curve.html#ae00bd073a2bcf7c3c810d70af1f86750">QwtPlotCurve::setPen</a></div><div class="ttdeci">void setPen(const QColor &amp;, qreal width=0.0, Qt::PenStyle=Qt::SolidLine)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l00302">qwt_plot_curve.cpp:302</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_ae988a31fedc9f30c0baf34dde80c125a"><div class="ttname"><a href="class_qwt_plot_curve.html#ae988a31fedc9f30c0baf34dde80c125a">QwtPlotCurve::curveFitter</a></div><div class="ttdeci">QwtCurveFitter * curveFitter() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l00872">qwt_plot_curve.cpp:872</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_aef239b0fd2872333b5d8947434add425"><div class="ttname"><a href="class_qwt_plot_curve.html#aef239b0fd2872333b5d8947434add425">QwtPlotCurve::CurveAttributes</a></div><div class="ttdeci">QFlags&lt; CurveAttribute &gt; CurveAttributes</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8h_source.html#l00133">qwt_plot_curve.h:133</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_af1b8d1a415addf18ee17bfeea7ffdc79"><div class="ttname"><a href="class_qwt_plot_curve.html#af1b8d1a415addf18ee17bfeea7ffdc79">QwtPlotCurve::baseline</a></div><div class="ttdeci">double baseline() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l01035">qwt_plot_curve.cpp:1035</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_af830c84cdcfa96f33432317e79dece3e"><div class="ttname"><a href="class_qwt_plot_curve.html#af830c84cdcfa96f33432317e79dece3e">QwtPlotCurve::drawSteps</a></div><div class="ttdeci">virtual void drawSteps(QPainter *, const QwtScaleMap &amp;xMap, const QwtScaleMap &amp;yMap, const QRectF &amp;canvasRect, int from, int to) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l00741">qwt_plot_curve.cpp:741</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_afaa5b4cfa0265b6cabaa77a18bd24fdd"><div class="ttname"><a href="class_qwt_plot_curve.html#afaa5b4cfa0265b6cabaa77a18bd24fdd">QwtPlotCurve::rtti</a></div><div class="ttdeci">virtual int rtti() const override</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l00145">qwt_plot_curve.cpp:145</a></div></div>
<div class="ttc" id="aclass_qwt_plot_curve_html_afd13c94e23520dacbc37b4d0fd036a8b"><div class="ttname"><a href="class_qwt_plot_curve.html#afd13c94e23520dacbc37b4d0fd036a8b">QwtPlotCurve::setRawSamples</a></div><div class="ttdeci">void setRawSamples(const double *xData, const double *yData, int size)</div><div class="ttdoc">Initialize the data by pointing to memory blocks which are not managed by QwtPlotCurve.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__curve_8cpp_source.html#l01203">qwt_plot_curve.cpp:1203</a></div></div>
<div class="ttc" id="aclass_qwt_plot_html_ac68a48e1fbd79355c82bbbf3a1e19e93"><div class="ttname"><a href="class_qwt_plot.html#ac68a48e1fbd79355c82bbbf3a1e19e93">QwtPlot::canvasMap</a></div><div class="ttdeci">virtual QwtScaleMap canvasMap(QwtAxisId) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot_8cpp_source.html#l00800">qwt_plot.cpp:800</a></div></div>
<div class="ttc" id="aclass_qwt_plot_item_html_a04da91589ece54e665ca94e487f7a208"><div class="ttname"><a href="class_qwt_plot_item.html#a04da91589ece54e665ca94e487f7a208">QwtPlotItem::yAxis</a></div><div class="ttdeci">QwtAxisId yAxis() const</div><div class="ttdoc">Return yAxis.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8cpp_source.html#l00559">qwt_plot_item.cpp:559</a></div></div>
<div class="ttc" id="aclass_qwt_plot_item_html_a0827dd69bf19ec0145b6cc6efad2c11b"><div class="ttname"><a href="class_qwt_plot_item.html#a0827dd69bf19ec0145b6cc6efad2c11b">QwtPlotItem::setLegendIconSize</a></div><div class="ttdeci">void setLegendIconSize(const QSize &amp;)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8cpp_source.html#l00373">qwt_plot_item.cpp:373</a></div></div>
<div class="ttc" id="aclass_qwt_plot_item_html_a3967414c7542e267d0c2793f02be7241"><div class="ttname"><a href="class_qwt_plot_item.html#a3967414c7542e267d0c2793f02be7241">QwtPlotItem::legendChanged</a></div><div class="ttdeci">virtual void legendChanged()</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8cpp_source.html#l00491">qwt_plot_item.cpp:491</a></div></div>
<div class="ttc" id="aclass_qwt_plot_item_html_a57d90e4146133b59d589c71b3a643e82"><div class="ttname"><a href="class_qwt_plot_item.html#a57d90e4146133b59d589c71b3a643e82">QwtPlotItem::setZ</a></div><div class="ttdeci">void setZ(double z)</div><div class="ttdoc">Set the z value.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8cpp_source.html#l00165">qwt_plot_item.cpp:165</a></div></div>
<div class="ttc" id="aclass_qwt_plot_item_html_a5a335be8ff488809a2cf7f4b734ad1b6"><div class="ttname"><a href="class_qwt_plot_item.html#a5a335be8ff488809a2cf7f4b734ad1b6">QwtPlotItem::setItemAttribute</a></div><div class="ttdeci">void setItemAttribute(ItemAttribute, bool on=true)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8cpp_source.html#l00228">qwt_plot_item.cpp:228</a></div></div>
<div class="ttc" id="aclass_qwt_plot_item_html_a68dc5c562bdec6ee764ddedae6acd3bf"><div class="ttname"><a href="class_qwt_plot_item.html#a68dc5c562bdec6ee764ddedae6acd3bf">QwtPlotItem::plot</a></div><div class="ttdeci">QwtPlot * plot() const</div><div class="ttdoc">Return attached plot.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8cpp_source.html#l00142">qwt_plot_item.cpp:142</a></div></div>
<div class="ttc" id="aclass_qwt_plot_item_html_a882b5eb610c7b384b64f0f6077f23c62"><div class="ttname"><a href="class_qwt_plot_item.html#a882b5eb610c7b384b64f0f6077f23c62">QwtPlotItem::xAxis</a></div><div class="ttdeci">QwtAxisId xAxis() const</div><div class="ttdoc">Return xAxis.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8cpp_source.html#l00553">qwt_plot_item.cpp:553</a></div></div>
<div class="ttc" id="aclass_qwt_plot_item_html_ab149ac85e233ce9cedf2f2f2af871bf3af51a35012ed097a762b8918cf20caa69"><div class="ttname"><a href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3af51a35012ed097a762b8918cf20caa69">QwtPlotItem::Rtti_PlotCurve</a></div><div class="ttdeci">@ Rtti_PlotCurve</div><div class="ttdoc">For QwtPlotCurve.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8h_source.html#l00093">qwt_plot_item.h:93</a></div></div>
<div class="ttc" id="aclass_qwt_plot_item_html_abe0e8a39aceef9a600b73e02550a9704ae0c9811915d496eaacbd749724647f13"><div class="ttname"><a href="class_qwt_plot_item.html#abe0e8a39aceef9a600b73e02550a9704ae0c9811915d496eaacbd749724647f13">QwtPlotItem::RenderAntialiased</a></div><div class="ttdeci">@ RenderAntialiased</div><div class="ttdoc">Enable antialiasing.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8h_source.html#l00207">qwt_plot_item.h:206</a></div></div>
<div class="ttc" id="aclass_qwt_plot_item_html_aca66d2161c8a6caf5ebef82f59770d15"><div class="ttname"><a href="class_qwt_plot_item.html#aca66d2161c8a6caf5ebef82f59770d15">QwtPlotItem::testRenderHint</a></div><div class="ttdeci">bool testRenderHint(RenderHint) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8cpp_source.html#l00332">qwt_plot_item.cpp:332</a></div></div>
<div class="ttc" id="aclass_qwt_plot_item_html_ad956fdbce5b0721abccce6d09fe4d5ce"><div class="ttname"><a href="class_qwt_plot_item.html#ad956fdbce5b0721abccce6d09fe4d5ce">QwtPlotItem::itemChanged</a></div><div class="ttdeci">virtual void itemChanged()</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8cpp_source.html#l00481">qwt_plot_item.cpp:481</a></div></div>
<div class="ttc" id="aclass_qwt_plot_item_html_ae0fabcdd35f4818ce5bbe019b0eed062a4e377b54bd879c60a95162b6a9e9e176"><div class="ttname"><a href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062a4e377b54bd879c60a95162b6a9e9e176">QwtPlotItem::Legend</a></div><div class="ttdeci">@ Legend</div><div class="ttdoc">The item is represented on the legend.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8h_source.html#l00150">qwt_plot_item.h:150</a></div></div>
<div class="ttc" id="aclass_qwt_plot_item_html_ae0fabcdd35f4818ce5bbe019b0eed062a9de83e2ad8a88796a36a11ef8b033a48"><div class="ttname"><a href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062a9de83e2ad8a88796a36a11ef8b033a48">QwtPlotItem::AutoScale</a></div><div class="ttdeci">@ AutoScale</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8h_source.html#l00157">qwt_plot_item.h:157</a></div></div>
<div class="ttc" id="aclass_qwt_plot_item_html_ae3651df9594cb48f8221f7b1cc7852ca"><div class="ttname"><a href="class_qwt_plot_item.html#ae3651df9594cb48f8221f7b1cc7852ca">QwtPlotItem::renderThreadCount</a></div><div class="ttdeci">uint renderThreadCount() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__item_8cpp_source.html#l00360">qwt_plot_item.cpp:360</a></div></div>
<div class="ttc" id="aclass_qwt_plot_series_item_html"><div class="ttname"><a href="class_qwt_plot_series_item.html">QwtPlotSeriesItem</a></div><div class="ttdoc">Base class for plot items representing a series of samples.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__seriesitem_8h_source.html#l00024">qwt_plot_seriesitem.h:26</a></div></div>
<div class="ttc" id="aclass_qwt_plot_series_item_html_a2717f491367632327a753eab8517506e"><div class="ttname"><a href="class_qwt_plot_series_item.html#a2717f491367632327a753eab8517506e">QwtPlotSeriesItem::orientation</a></div><div class="ttdeci">Qt::Orientation orientation() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__plot__seriesitem_8cpp_source.html#l00077">qwt_plot_seriesitem.cpp:77</a></div></div>
<div class="ttc" id="aclass_qwt_point_array_data_html"><div class="ttname"><a href="class_qwt_point_array_data.html">QwtPointArrayData</a></div><div class="ttdoc">Interface for iterating over two QVector&lt;T&gt; objects.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__point__data_8h_source.html#l00022">qwt_point_data.h:23</a></div></div>
<div class="ttc" id="aclass_qwt_point_mapper_html"><div class="ttname"><a href="class_qwt_point_mapper.html">QwtPointMapper</a></div><div class="ttdoc">A helper class for translating a series of points.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__point__mapper_8h_source.html#l00032">qwt_point_mapper.h:33</a></div></div>
<div class="ttc" id="aclass_qwt_point_mapper_html_a03910571df91575456e98134f6543650"><div class="ttname"><a href="class_qwt_point_mapper.html#a03910571df91575456e98134f6543650">QwtPointMapper::setBoundingRect</a></div><div class="ttdeci">void setBoundingRect(const QRectF &amp;)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__point__mapper_8cpp_source.html#l00612">qwt_point_mapper.cpp:612</a></div></div>
<div class="ttc" id="aclass_qwt_point_mapper_html_a394341ccba09dd293dddc7bb4f599891"><div class="ttname"><a href="class_qwt_point_mapper.html#a394341ccba09dd293dddc7bb4f599891">QwtPointMapper::toPolygonF</a></div><div class="ttdeci">QPolygonF toPolygonF(const QwtScaleMap &amp;xMap, const QwtScaleMap &amp;yMap, const QwtSeriesData&lt; QPointF &gt; *series, int from, int to) const</div><div class="ttdoc">Translate a series of points into a QPolygonF.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__point__mapper_8cpp_source.html#l00647">qwt_point_mapper.cpp:647</a></div></div>
<div class="ttc" id="aclass_qwt_point_mapper_html_a48feb94a44632dafc78405e7a42ee65e"><div class="ttname"><a href="class_qwt_point_mapper.html#a48feb94a44632dafc78405e7a42ee65e">QwtPointMapper::toImage</a></div><div class="ttdeci">QImage toImage(const QwtScaleMap &amp;xMap, const QwtScaleMap &amp;yMap, const QwtSeriesData&lt; QPointF &gt; *series, int from, int to, const QPen &amp;, bool antialiased, uint numThreads) const</div><div class="ttdoc">Translate a series into a QImage.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__point__mapper_8cpp_source.html#l00883">qwt_point_mapper.cpp:883</a></div></div>
<div class="ttc" id="aclass_qwt_point_mapper_html_a69d9ab6398de007d851e7d386ec5dfb7"><div class="ttname"><a href="class_qwt_point_mapper.html#a69d9ab6398de007d851e7d386ec5dfb7">QwtPointMapper::toPointsF</a></div><div class="ttdeci">QPolygonF toPointsF(const QwtScaleMap &amp;xMap, const QwtScaleMap &amp;yMap, const QwtSeriesData&lt; QPointF &gt; *series, int from, int to) const</div><div class="ttdoc">Translate a series into a QPolygonF.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__point__mapper_8cpp_source.html#l00759">qwt_point_mapper.cpp:759</a></div></div>
<div class="ttc" id="aclass_qwt_point_mapper_html_a6e03e14718d3d66a0f6a02fec7fcaeed"><div class="ttname"><a href="class_qwt_point_mapper.html#a6e03e14718d3d66a0f6a02fec7fcaeed">QwtPointMapper::setFlag</a></div><div class="ttdeci">void setFlag(TransformationFlag, bool on=true)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__point__mapper_8cpp_source.html#l00586">qwt_point_mapper.cpp:586</a></div></div>
<div class="ttc" id="aclass_qwt_point_mapper_html_aafc07ceadb3f311057037ca8680e1c23a0e367a1519b0005cad8bb324854cc8e3"><div class="ttname"><a href="class_qwt_point_mapper.html#aafc07ceadb3f311057037ca8680e1c23a0e367a1519b0005cad8bb324854cc8e3">QwtPointMapper::RoundPoints</a></div><div class="ttdeci">@ RoundPoints</div><div class="ttdoc">Round points to integer values.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__point__mapper_8h_source.html#l00042">qwt_point_mapper.h:42</a></div></div>
<div class="ttc" id="aclass_qwt_point_mapper_html_aafc07ceadb3f311057037ca8680e1c23a288f41a8e4d53c895f7bffaaa9b5d9e4"><div class="ttname"><a href="class_qwt_point_mapper.html#aafc07ceadb3f311057037ca8680e1c23a288f41a8e4d53c895f7bffaaa9b5d9e4">QwtPointMapper::WeedOutPoints</a></div><div class="ttdeci">@ WeedOutPoints</div><div class="ttdef"><b>Definition:</b> <a href="qwt__point__mapper_8h_source.html#l00048">qwt_point_mapper.h:48</a></div></div>
<div class="ttc" id="aclass_qwt_point_mapper_html_aafc07ceadb3f311057037ca8680e1c23a7708d7fa581149d1a443f0eaf7066b06"><div class="ttname"><a href="class_qwt_point_mapper.html#aafc07ceadb3f311057037ca8680e1c23a7708d7fa581149d1a443f0eaf7066b06">QwtPointMapper::WeedOutIntermediatePoints</a></div><div class="ttdeci">@ WeedOutIntermediatePoints</div><div class="ttdef"><b>Definition:</b> <a href="qwt__point__mapper_8h_source.html#l00069">qwt_point_mapper.h:68</a></div></div>
<div class="ttc" id="aclass_qwt_point_mapper_html_ad580fc22b1bfcc353e711712cad15ae0"><div class="ttname"><a href="class_qwt_point_mapper.html#ad580fc22b1bfcc353e711712cad15ae0">QwtPointMapper::toPoints</a></div><div class="ttdeci">QPolygon toPoints(const QwtScaleMap &amp;xMap, const QwtScaleMap &amp;yMap, const QwtSeriesData&lt; QPointF &gt; *series, int from, int to) const</div><div class="ttdoc">Translate a series of points into a QPolygon.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__point__mapper_8cpp_source.html#l00833">qwt_point_mapper.cpp:833</a></div></div>
<div class="ttc" id="aclass_qwt_point_series_data_html"><div class="ttname"><a href="class_qwt_point_series_data.html">QwtPointSeriesData</a></div><div class="ttdoc">Interface for iterating over an array of points.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__series__data_8h_source.html#l00209">qwt_series_data.h:210</a></div></div>
<div class="ttc" id="aclass_qwt_scale_map_html"><div class="ttname"><a href="class_qwt_scale_map.html">QwtScaleMap</a></div><div class="ttdoc">A scale map.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__scale__map_8h_source.html#l00026">qwt_scale_map.h:27</a></div></div>
<div class="ttc" id="aclass_qwt_scale_map_html_a504f1627e0e02ddac03d2ce46507b865"><div class="ttname"><a href="class_qwt_scale_map.html#a504f1627e0e02ddac03d2ce46507b865">QwtScaleMap::transform</a></div><div class="ttdeci">double transform(double s) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__scale__map_8h_source.html#l00137">qwt_scale_map.h:137</a></div></div>
<div class="ttc" id="aclass_qwt_scale_map_html_a810c561caaad7d6573a1e8ff06fe4b23"><div class="ttname"><a href="class_qwt_scale_map.html#a810c561caaad7d6573a1e8ff06fe4b23">QwtScaleMap::transformation</a></div><div class="ttdeci">const QwtTransform * transformation() const</div><div class="ttdoc">Get the transformation.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__scale__map_8cpp_source.html#l00088">qwt_scale_map.cpp:88</a></div></div>
<div class="ttc" id="aclass_qwt_series_data_html"><div class="ttname"><a href="class_qwt_series_data.html">QwtSeriesData&lt; QPointF &gt;</a></div></div>
<div class="ttc" id="aclass_qwt_series_data_html_ae8650d16c07c58f01897ab48658a3266"><div class="ttname"><a href="class_qwt_series_data.html#ae8650d16c07c58f01897ab48658a3266">QwtSeriesData::sample</a></div><div class="ttdeci">virtual T sample(size_t i) const =0</div></div>
<div class="ttc" id="aclass_qwt_series_store_html_a09f98212173ac6de604d8b63ebf6bb0a"><div class="ttname"><a href="class_qwt_series_store.html#a09f98212173ac6de604d8b63ebf6bb0a">QwtSeriesStore&lt; QPointF &gt;::sample</a></div><div class="ttdeci">QPointF sample(int index) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__series__store_8h_source.html#l00097">qwt_series_store.h:158</a></div></div>
<div class="ttc" id="aclass_qwt_series_store_html_a6391ad8acc1b3946006451f54a6558de"><div class="ttname"><a href="class_qwt_series_store.html#a6391ad8acc1b3946006451f54a6558de">QwtSeriesStore&lt; QPointF &gt;::dataSize</a></div><div class="ttdeci">virtual size_t dataSize() const override</div><div class="ttdef"><b>Definition:</b> <a href="qwt__series__store_8h_source.html#l00103">qwt_series_store.h:175</a></div></div>
<div class="ttc" id="aclass_qwt_series_store_html_aae258d330c8d1bd2057b1f0bc13700f9"><div class="ttname"><a href="class_qwt_series_store.html#aae258d330c8d1bd2057b1f0bc13700f9">QwtSeriesStore&lt; QPointF &gt;::data</a></div><div class="ttdeci">QwtSeriesData&lt; QPointF &gt; * data()</div><div class="ttdef"><b>Definition:</b> <a href="qwt__series__store_8h_source.html#l00088">qwt_series_store.h:146</a></div></div>
<div class="ttc" id="aclass_qwt_series_store_html_add3ce83fe90e976b75a0ebaa79caee4c"><div class="ttname"><a href="class_qwt_series_store.html#add3ce83fe90e976b75a0ebaa79caee4c">QwtSeriesStore&lt; QPointF &gt;::setData</a></div><div class="ttdeci">void setData(QwtSeriesData&lt; QPointF &gt; *series)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__series__store_8h_source.html#l00085">qwt_series_store.h:164</a></div></div>
<div class="ttc" id="aclass_qwt_spline_curve_fitter_html"><div class="ttname"><a href="class_qwt_spline_curve_fitter.html">QwtSplineCurveFitter</a></div><div class="ttdoc">A curve fitter using a spline interpolation.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__spline__curve__fitter_8h_source.html#l00025">qwt_spline_curve_fitter.h:26</a></div></div>
<div class="ttc" id="aclass_qwt_symbol_html"><div class="ttname"><a href="class_qwt_symbol.html">QwtSymbol</a></div><div class="ttdoc">A class for drawing symbols.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__symbol_8h_source.html#l00031">qwt_symbol.h:32</a></div></div>
<div class="ttc" id="aclass_qwt_symbol_html_a5a6f161bb68df7237224519e5877203b"><div class="ttname"><a href="class_qwt_symbol.html#a5a6f161bb68df7237224519e5877203b">QwtSymbol::boundingRect</a></div><div class="ttdeci">virtual QRect boundingRect() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__symbol_8cpp_source.html#l01637">qwt_symbol.cpp:1637</a></div></div>
<div class="ttc" id="aclass_qwt_symbol_html_a623997cd980c29e7d9cac3718e21cefc"><div class="ttname"><a href="class_qwt_symbol.html#a623997cd980c29e7d9cac3718e21cefc">QwtSymbol::drawSymbols</a></div><div class="ttdeci">void drawSymbols(QPainter *, const QPolygonF &amp;) const</div><div class="ttdoc">Draw symbols at the specified points.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__symbol_8h_source.html#l00251">qwt_symbol.h:251</a></div></div>
<div class="ttc" id="aclass_qwt_symbol_html_a62f457952470c2076962e83ef2c24d2fac3089b3993834683204a7bda52e763d3"><div class="ttname"><a href="class_qwt_symbol.html#a62f457952470c2076962e83ef2c24d2fac3089b3993834683204a7bda52e763d3">QwtSymbol::NoSymbol</a></div><div class="ttdeci">@ NoSymbol</div><div class="ttdoc">No Style. The symbol cannot be drawn.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__symbol_8h_source.html#l00041">qwt_symbol.h:41</a></div></div>
<div class="ttc" id="aclass_qwt_text_html"><div class="ttname"><a href="class_qwt_text.html">QwtText</a></div><div class="ttdoc">A class representing a text.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__text_8h_source.html#l00051">qwt_text.h:52</a></div></div>
<div class="ttc" id="aclass_qwt_transform_html_aef97acf17f900905f2a93cec7f61e643"><div class="ttname"><a href="class_qwt_transform.html#aef97acf17f900905f2a93cec7f61e643">QwtTransform::bounded</a></div><div class="ttdeci">virtual double bounded(double value) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__transform_8cpp_source.html#l00033">qwt_transform.cpp:33</a></div></div>
<div class="ttc" id="aclass_qwt_value_point_data_html"><div class="ttname"><a href="class_qwt_value_point_data.html">QwtValuePointData</a></div><div class="ttdoc">Interface for iterating over a QVector&lt;T&gt;.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__point__data_8h_source.html#l00067">qwt_point_data.h:68</a></div></div>
<div class="ttc" id="anamespace_qwt_clipper_html_a7c876c77f33931add58f80a98885af07"><div class="ttname"><a href="namespace_qwt_clipper.html#a7c876c77f33931add58f80a98885af07">QwtClipper::clippedPolygonF</a></div><div class="ttdeci">QWT_EXPORT QPolygonF clippedPolygonF(const QRectF &amp;, const QPolygonF &amp;, bool closePolygon=false)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__clipper_8cpp_source.html#l00455">qwt_clipper.cpp:455</a></div></div>
<div class="ttc" id="anamespace_qwt_clipper_html_aa5305d415fd97b332825e68b6cb25715"><div class="ttname"><a href="namespace_qwt_clipper.html#aa5305d415fd97b332825e68b6cb25715">QwtClipper::clipPolygonF</a></div><div class="ttdeci">QWT_EXPORT void clipPolygonF(const QRectF &amp;, QPolygonF &amp;, bool closePolygon=false)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__clipper_8cpp_source.html#l00404">qwt_clipper.cpp:404</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><b>qwt_plot_curve.cpp</b></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
